home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / System7 tools / Frontier / Frontier SDK 2.1 / Extras / Frontier Install File Creator / Commercial Developer Suite next >
MacBinary  |  1992-10-11  |  27.4 KB  |  [2CLK/LAND]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Oct 6 06:38:19 1992, modified Sun Oct 11 09:30:00 1992, creator 'LAND', type '2CLK' "Commercial Developer Suite", at 0x80 27821 bytes resource Apple HFS/HFS+ resource fork, map offset 0x6c15, map length 0x98, data length 0x6b15, at 16 0x6122290d, nextResourceMap 0x11f8aa4, fileRef 0x12bc, list offset 0x1c, name offset 0x86, 4 types, 0x53545220 'STR ' * 3 resource offset 0x22 default (weak)
99% file Adobe Photoshop Color swatch, version 0, 256 colors; 1st RGB space (0), w 0x6c15, x 0, y 0x6b15, z 0 ; 2nd space (152), w 0x6122, x 0x290d, y 0x909, z 0x7769 default (weak)
98% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[2CLK]
macFileCreator[LAND]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 43 6f 6d 6d 65 72 | 63 69 61 6c 20 44 65 76 |..Commer|cial Dev|
|00000010| 65 6c 6f 70 65 72 20 53 | 75 69 74 65 00 00 00 00 |eloper S|uite....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 32 43 4c 4b 4c 41 4e | 44 01 00 00 00 00 00 00 |.2CLKLAN|D.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 6c ad a6 f7 1d 1b a6 |........|.l......|
|00000060| fd dc d8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 45 84 00 00 |........|....E...|
|00000080| 00 00 01 00 00 00 6c 15 | 00 00 6b 15 00 00 00 98 |......l.|..k.....|
|00000090| 61 22 29 0d 09 09 77 69 | 74 68 20 63 68 61 72 61 |a")...wi|th chara|
|000000a0| 63 74 65 72 20 5b 77 6f | 72 64 20 5b 34 5d 2e 63 |cter [wo|rd [4].c|
|000000b0| 1a 43 6f 6d 6d 65 72 63 | 69 61 6c 20 44 65 76 65 |.Commerc|ial Deve|
|000000c0| 6c 6f 70 65 72 20 53 75 | 69 74 65 65 02 00 00 00 |loper Su|itee....|
|000000d0| 00 00 32 43 4c 4b 4c 41 | 4e 44 00 00 00 00 00 00 |..2CLKLA|ND......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 a6 f7 1d 1b 00 00 | 00 00 00 00 6c ad 6f 72 |........|....l.or|
|00000100| 64 20 5b 31 5d 2e 63 68 | 61 72 61 63 74 65 72 20 |d [1].ch|aracter |
|00000110| 5b 27 6e 65 78 74 27 5d | 2e 73 69 7a 65 2c 20 31 |['next']|.size, 1|
|00000120| 38 29 0d 09 09 73 65 74 | 20 28 77 6f 72 64 20 5b |8)...set| (word [|
|00000130| 69 74 20 63 6f 6e 74 61 | 69 6e 73 20 22 6f 6f 22 |it conta|ins "oo"|
|00000140| 5d 2e 73 74 79 6c 65 2c | 20 75 6e 64 65 72 6c 69 |].style,| underli|
|00000150| 6e 65 29 0d 09 09 78 20 | 3d 20 67 65 74 20 28 64 |ne)...x |= get (d|
|00000160| 6f 63 75 6d 65 6e 74 20 | 5b 6e 61 6d 65 20 63 6f |ocument |[name co|
|00000170| 6e 74 61 69 6e 73 20 22 | 46 72 6f 6e 74 69 65 72 |ntains "|Frontier|
|00000180| 00 00 00 06 05 32 2e 30 | 62 37 00 00 00 09 08 46 |.....2.0|b7.....F|
|00000190| 72 6f 6e 74 69 65 72 00 | 00 00 f0 00 01 04 0e 00 |rontier.|........|
|000001a0| 02 00 00 00 0c 00 00 00 | 68 00 00 02 00 00 0f 06 |........|h.......|
|000001b0| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|000001e0| 00 a4 d0 77 90 a6 f7 1d | 1b 00 00 00 06 00 00 00 |...w....|........|
|000001f0| aa 00 79 01 0e 01 df 00 | 00 00 00 00 00 00 00 00 |..y.....|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 6f | 6e 20 63 61 6c 6c 69 6d |.......o|n callim|
|00000220| 70 6f 72 74 65 72 20 28 | 70 61 74 68 29 20 c7 74 |porter (|path) .t|
|00000230| 68 69 73 20 73 63 72 69 | 70 74 20 69 73 20 73 61 |his scri|pt is sa|
|00000240| 76 65 64 20 77 69 74 68 | 20 61 6c 6c 20 65 78 70 |ved with| all exp|
|00000250| 6f 72 74 65 64 20 6f 62 | 6a 65 63 74 73 0d 09 72 |orted ob|jects..r|
|00000260| 65 74 75 72 6e 20 28 65 | 78 70 6f 72 74 2e 69 6d |eturn (e|xport.im|
|00000270| 70 6f 72 74 65 72 20 28 | 70 61 74 68 29 29 0d 80 |porter (|path))..|
|00000280| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 0d 0c |........|........|
|00000290| 63 61 6c 6c 69 6d 70 6f | 72 74 65 72 00 00 00 04 |callimpo|rter....|
|000002a0| 00 00 00 01 00 00 69 ed | 74 61 62 6c 00 01 03 0e |......i.|tabl....|
|000002b0| 00 00 69 4b 00 00 00 78 | 00 00 00 00 0c 00 00 00 |..iK...x|........|
|000002c0| 00 08 00 00 00 16 0d 00 | 00 00 00 25 00 00 01 27 |........|...%...'|
|000002d0| 0d 00 00 00 01 33 00 00 | 01 fb 0d 00 00 00 02 0d |.....3..|........|
|000002e0| 00 00 06 fa 0d 00 00 00 | 07 05 00 00 0a 0a 0d 00 |........|........|
|000002f0| 00 00 0a 17 00 00 16 9f | 0d 00 00 00 16 ab 00 00 |........|........|
|00000300| 20 1c 0d 00 00 00 20 21 | 00 00 34 c4 0d 00 00 00 | ..... !|..4.....|
|00000310| 34 d3 00 00 54 e5 0d 00 | 00 00 54 f1 00 00 55 cc |4...T...|..T...U.|
|00000320| 0d 00 00 00 55 d7 00 00 | 5c b9 0d 00 00 00 5c c4 |....U...|\.....\.|
|00000330| 07 61 70 70 6e 61 6d 65 | 00 00 00 0a 46 69 6e 64 |.appname|....Find|
|00000340| 65 72 4d 65 6e 75 0e 63 | 61 6c 6c 49 6e 73 74 61 |erMenu.c|allInsta|
|00000350| 6c 6c 41 70 70 00 00 00 | fe 00 01 04 b8 00 02 00 |llApp...|........|
|00000360| 00 00 0c 00 00 00 76 00 | 00 02 00 00 0f 06 47 65 |......v.|......Ge|
|00000370| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 09 00 00 00 00 00 00 00 | 00 00 00 06 45 00 00 a4 |........|....E...|
|000003a0| d0 77 90 a6 f7 1c f7 00 | 00 00 1e 00 00 00 96 00 |.w......|........|
|000003b0| 54 00 fa 01 d1 00 00 00 | 00 00 00 00 00 00 00 00 |T.......|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 6f 6e 20 | 63 61 6c 6c 49 6e 73 74 |.....on |callInst|
|000003e0| 61 6c 6c 41 70 70 20 28 | 70 61 74 68 29 20 c7 74 |allApp (|path) .t|
|000003f0| 68 69 73 20 73 63 72 69 | 70 74 20 69 73 20 73 61 |his scri|pt is sa|
|00000400| 76 65 64 20 69 6e 20 61 | 6c 6c 20 63 6f 6d 6d 65 |ved in a|ll comme|
|00000410| 72 63 69 61 6c 20 69 6e | 73 74 61 6c 6c 20 66 69 |rcial in|stall fi|
|00000420| 6c 65 73 0d 09 72 65 74 | 75 72 6e 20 28 63 6f 6d |les..ret|urn (com|
|00000430| 6d 65 72 63 69 61 6c 2e | 69 6e 73 74 61 6c 6c 41 |mercial.|installA|
|00000440| 70 70 20 28 70 61 74 68 | 29 29 0d 80 00 00 00 00 |pp (path|))......|
|00000450| 00 80 00 00 00 00 00 0b | 69 6e 73 74 61 6c 6c 4d |........|installM|
|00000460| 65 6e 75 00 00 00 c4 00 | 01 04 b8 00 02 00 00 00 |enu.....|........|
|00000470| 0c 00 00 00 3c 00 00 02 | 00 00 0f 06 47 65 6e 65 |....<...|....Gene|
|00000480| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 06 54 00 00 a4 3f 59 |........|..T...?Y|
|000004b0| 47 a6 f7 1c f7 00 00 00 | 33 00 00 00 96 00 8e 00 |G.......|3.......|
|000004c0| fa 01 97 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 6f 6e 20 69 6e | 73 74 61 6c 6c 4d 65 6e |...on in|stallMen|
|000004f0| 75 20 28 29 0d 09 72 65 | 74 75 72 6e 20 28 6d 65 |u ()..re|turn (me|
|00000500| 6e 75 2e 69 6e 73 74 61 | 6c 6c 20 28 40 63 6f 6d |nu.insta|ll (@com|
|00000510| 6d 65 72 63 69 61 6c 2e | 6d 65 6e 75 29 29 0d 80 |mercial.|menu))..|
|00000520| 00 00 00 00 00 80 00 00 | 00 00 00 11 63 72 65 61 |........|....crea|
|00000530| 74 65 49 6e 73 74 61 6c | 6c 46 69 6c 65 00 00 04 |teInstal|lFile...|
|00000540| e9 00 01 04 b8 00 02 00 | 00 00 90 00 00 03 dd 00 |........|........|
|00000550| 00 02 00 00 0f 06 47 65 | 6e 65 76 61 00 00 00 00 |......Ge|neva....|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 06 45 00 00 a4 | 9b 96 ee a6 f7 1c f7 00 |....E...|........|
|00000590| 00 00 5a 00 00 00 37 00 | 49 01 90 01 e6 00 00 00 |..Z...7.|I.......|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 6f 6e 20 |........|.....on |
|000005c0| 63 72 65 61 74 65 49 6e | 73 74 61 6c 6c 46 69 6c |createIn|stallFil|
|000005d0| 65 20 28 61 70 70 6e 61 | 6d 65 2c 20 61 70 70 63 |e (appna|me, appc|
|000005e0| 72 65 61 74 6f 72 2c 20 | 66 6e 61 6d 65 29 20 0d |reator, |fname) .|
|000005f0| 09 6c 6f 63 61 6c 20 28 | 78 29 0d 09 62 75 6e 64 |.local (|x)..bund|
|00000600| 6c 65 20 c7 63 72 65 61 | 74 65 20 74 68 65 20 66 |le .crea|te the f|
|00000610| 69 6c 65 2c 20 73 61 76 | 65 20 74 68 65 20 69 6e |ile, sav|e the in|
|00000620| 73 74 61 6c 6c 20 73 63 | 72 69 70 74 0d 09 09 63 |stall sc|ript...c|
|00000630| 6f 70 79 20 65 6d 62 65 | 64 64 65 64 20 73 63 72 |opy embe|dded scr|
|00000640| 69 70 74 20 69 6e 74 6f | 20 61 20 6c 6f 63 61 6c |ipt into| a local|
|00000650| 20 73 6f 20 74 68 61 74 | 20 72 75 6e 6e 69 6e 67 | so that| running|
|00000660| 20 69 74 20 77 6f 6e 27 | 74 20 6f 76 65 72 77 72 | it won'|t overwr|
|00000670| 69 74 65 20 6c 61 74 65 | 73 74 20 76 65 72 73 69 |ite late|st versi|
|00000680| 6f 6e 0d 09 09 6c 6f 63 | 61 6c 20 28 63 61 6c 6c |on...loc|al (call|
|00000690| 49 6e 73 74 61 6c 6c 41 | 70 70 29 0d 09 09 74 61 |InstallA|pp)...ta|
|000006a0| 62 6c 65 2e 61 73 73 69 | 67 6e 20 28 40 63 61 6c |ble.assi|gn (@cal|
|000006b0| 6c 49 6e 73 74 61 6c 6c | 41 70 70 2c 20 63 6f 6d |lInstall|App, com|
|000006c0| 6d 65 72 63 69 61 6c 2e | 63 61 6c 6c 49 6e 73 74 |mercial.|callInst|
|000006d0| 61 6c 6c 41 70 70 29 0d | 09 09 65 78 70 6f 72 74 |allApp).|..export|
|000006e0| 2e 73 65 6e 64 74 6f 64 | 65 73 6b 74 6f 70 20 28 |.sendtod|esktop (|
|000006f0| 40 63 61 6c 6c 49 6e 73 | 74 61 6c 6c 41 70 70 2c |@callIns|tallApp,|
|00000700| 20 66 6e 61 6d 65 29 0d | 09 62 75 6e 64 6c 65 20 | fname).|.bundle |
|00000710| c7 73 61 76 65 20 74 68 | 65 20 61 70 70 20 6e 61 |.save th|e app na|
|00000720| 6d 65 20 61 6e 64 20 63 | 72 65 61 74 6f 72 20 69 |me and c|reator i|
|00000730| 64 0d 09 09 72 65 7a 2e | 70 75 74 73 74 72 69 6e |d...rez.|putstrin|
|00000740| 67 72 65 73 6f 75 72 63 | 65 20 28 66 6e 61 6d 65 |gresourc|e (fname|
|00000750| 2c 20 31 34 30 2c 20 61 | 70 70 6e 61 6d 65 29 0d |, 140, a|ppname).|
|00000760| 09 09 72 65 7a 2e 70 75 | 74 73 74 72 69 6e 67 72 |..rez.pu|tstringr|
|00000770| 65 73 6f 75 72 63 65 20 | 28 66 6e 61 6d 65 2c 20 |esource |(fname, |
|00000780| 31 34 31 2c 20 61 70 70 | 63 72 65 61 74 6f 72 29 |141, app|creator)|
|00000790| 0d 09 62 75 6e 64 6c 65 | 20 c7 73 61 76 65 20 72 |..bundle| .save r|
|000007a0| 75 6e 74 69 6d 65 20 6d | 65 6e 75 62 61 72 2c 20 |untime m|enubar, |
|000007b0| 69 66 20 6f 6e 65 20 69 | 73 20 64 65 66 69 6e 65 |if one i|s define|
|000007c0| 64 0d 09 09 61 64 72 20 | 3d 20 40 73 79 73 74 65 |d...adr |= @syste|
|000007d0| 6d 2e 6d 65 6e 75 62 61 | 72 73 2e 5b 61 70 70 63 |m.menuba|rs.[appc|
|000007e0| 72 65 61 74 6f 72 5d 0d | 09 09 69 66 20 64 65 66 |reator].|..if def|
|000007f0| 69 6e 65 64 20 28 61 64 | 72 5e 29 0d 09 09 09 70 |ined (ad|r^)....p|
|00000800| 61 63 6b 20 28 61 64 72 | 5e 2c 20 40 78 29 0d 09 |ack (adr|^, @x)..|
|00000810| 09 09 72 65 7a 2e 70 75 | 74 72 65 73 6f 75 72 63 |..rez.pu|tresourc|
|00000820| 65 20 28 66 6e 61 6d 65 | 2c 20 6d 65 6e 75 62 61 |e (fname|, menuba|
|00000830| 72 74 79 70 65 2c 20 31 | 32 38 2c 20 40 78 29 0d |rtype, 1|28, @x).|
|00000840| 09 62 75 6e 64 6c 65 20 | c7 73 61 76 65 20 67 6c |.bundle |.save gl|
|00000850| 75 65 20 73 63 72 69 70 | 74 73 0d 09 09 61 64 72 |ue scrip|ts...adr|
|00000860| 20 3d 20 40 73 79 73 74 | 65 6d 2e 76 65 72 62 73 | = @syst|em.verbs|
|00000870| 2e 61 70 70 73 2e 5b 61 | 70 70 6e 61 6d 65 5d 0d |.apps.[a|ppname].|
|00000880| 09 09 69 66 20 64 65 66 | 69 6e 65 64 20 28 61 64 |..if def|ined (ad|
|00000890| 72 5e 29 0d 09 09 09 6c | 6f 63 61 6c 20 28 6f 6c |r^)....l|ocal (ol|
|000008a0| 64 70 61 74 68 20 3d 20 | 61 64 72 5e 2e 61 70 70 |dpath = |adr^.app|
|000008b0| 49 6e 66 6f 2e 70 61 74 | 68 29 20 c7 73 61 76 65 |Info.pat|h) .save|
|000008c0| 20 73 6f 20 77 65 20 63 | 61 6e 20 72 65 73 74 6f | so we c|an resto|
|000008d0| 72 65 20 69 74 20 6c 61 | 74 65 72 0d 09 09 09 61 |re it la|ter....a|
|000008e0| 64 72 5e 2e 61 70 70 49 | 6e 66 6f 2e 70 61 74 68 |dr^.appI|nfo.path|
|000008f0| 20 3d 3d 20 22 22 20 c7 | 69 74 27 6c 6c 20 62 65 | == "" .|it'll be|
|00000900| 20 73 65 74 20 74 68 65 | 20 66 69 72 73 74 20 74 | set the| first t|
|00000910| 69 6d 65 20 74 68 65 20 | 75 73 65 72 20 72 75 6e |ime the |user run|
|00000920| 73 20 74 68 65 20 61 70 | 70 0d 09 09 09 70 61 63 |s the ap|p....pac|
|00000930| 6b 20 28 61 64 72 5e 2c | 20 40 78 29 0d 09 09 09 |k (adr^,| @x)....|
|00000940| 72 65 7a 2e 70 75 74 72 | 65 73 6f 75 72 63 65 20 |rez.putr|esource |
|00000950| 28 66 6e 61 6d 65 2c 20 | 74 61 62 6c 65 74 79 70 |(fname, |tabletyp|
|00000960| 65 2c 20 31 32 38 2c 20 | 40 78 29 0d 09 09 09 61 |e, 128, |@x)....a|
|00000970| 64 72 5e 2e 61 70 70 49 | 6e 66 6f 2e 70 61 74 68 |dr^.appI|nfo.path|
|00000980| 20 3d 20 6f 6c 64 70 61 | 74 68 0d 09 72 65 74 75 | = oldpa|th..retu|
|00000990| 72 6e 20 28 74 72 75 65 | 29 0d 80 00 00 00 00 00 |rn (true|).......|
|000009a0| 80 00 00 00 00 00 80 00 | 00 00 00 00 04 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000009d0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|000009e0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000009f0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000a00| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000a10| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000a20| 00 00 00 00 80 00 00 00 | 00 00 0a 6e 65 77 4d 65 |........|...newMe|
|00000a30| 6e 75 62 61 72 00 00 03 | 01 00 01 05 b8 00 00 01 |nubar...|........|
|00000a40| bf 00 01 00 03 e2 30 00 | 00 00 00 00 00 01 68 01 |......0.|......h.|
|00000a50| 64 02 12 03 1c 00 00 00 | 00 00 00 06 47 65 6e 65 |d.......|....Gene|
|00000a60| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 00 |........|........|
|00000a80| 5b 00 82 01 34 01 a3 00 | 00 00 00 00 00 00 00 00 |[...4...|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 02 00 00 00 54 00 | 00 00 83 00 00 02 00 00 |......T.|........|
|00000ac0| 0f 07 43 68 69 63 61 67 | 6f 00 00 00 00 00 00 00 |..Chicag|o.......|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 0c 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00000af0| 45 00 00 a6 bc fe ae a6 | f7 1d 1c 00 00 00 32 00 |E.......|......2.|
|00000b00| 00 01 59 01 7f 02 21 03 | 00 00 00 00 00 00 00 00 |..Y...!.|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 53 63 72 69 70 74 73 |........|.Scripts|
|00000b30| 0d 09 41 62 6f 75 74 20 | 74 68 65 20 53 63 72 69 |..About |the Scri|
|00000b40| 70 74 73 20 4d 65 6e 75 | c9 0d 09 2d 0d 09 53 61 |pts Menu|...-..Sa|
|00000b50| 6d 70 6c 65 20 53 63 72 | 69 70 74 20 23 31 0d 09 |mple Scr|ipt #1..|
|00000b60| 53 61 6d 70 6c 65 20 53 | 63 72 69 70 74 20 23 32 |Sample S|cript #2|
|00000b70| 0d 09 53 61 6d 70 6c 65 | 20 53 63 72 69 70 74 20 |..Sample| Script |
|00000b80| 23 33 0d 09 2d 0d 09 45 | 64 69 74 20 53 68 61 72 |#3..-..E|dit Shar|
|00000b90| 65 64 20 4d 65 6e 75 0d | 09 45 64 69 74 20 53 63 |ed Menu.|.Edit Sc|
|00000ba0| 72 69 70 74 73 20 54 61 | 62 6c 65 0d 80 00 00 00 |ripts Ta|ble.....|
|00000bb0| 00 00 80 00 00 00 00 0a | 00 00 00 03 e3 8b 00 00 |........|........|
|00000bc0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000bd0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000be0| 80 00 00 00 00 0a 4d 00 | 00 00 00 00 00 00 00 00 |......M.|........|
|00000bf0| 80 00 00 00 00 0a 54 00 | 00 00 00 00 00 00 00 00 |......T.|........|
|00000c00| 00 02 00 00 00 18 00 00 | 00 aa 00 01 02 00 00 0f |........|........|
|00000c10| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 06 54 |........|.......T|
|00000c40| 00 00 a6 bc ff 1f a6 f7 | 1c f7 00 00 00 05 00 00 |........|........|
|00000c50| 01 59 01 7f 02 21 03 00 | 00 00 00 00 00 00 00 00 |.Y...!..|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 6c 6f 63 61 6c 20 28 61 |........|local (a|
|00000c80| 70 70 6e 61 6d 65 20 3d | 20 73 79 73 2e 66 72 6f |ppname =| sys.fro|
|00000c90| 6e 74 6d 6f 73 74 41 70 | 70 20 28 29 29 0d 46 72 |ntmostAp|p ()).Fr|
|00000ca0| 6f 6e 74 69 65 72 2e 62 | 72 69 6e 67 54 6f 46 72 |ontier.b|ringToFr|
|00000cb0| 6f 6e 74 20 28 29 0d 64 | 69 61 6c 6f 67 2e 6e 6f |ont ().d|ialog.no|
|00000cc0| 74 69 66 79 20 28 22 54 | 68 69 73 20 6d 65 6e 75 |tify ("T|his menu|
|00000cd0| 20 63 6f 6e 74 61 69 6e | 73 20 73 63 72 69 70 74 | contain|s script|
|00000ce0| 73 20 77 72 69 74 74 65 | 6e 20 77 69 74 68 20 55 |s writte|n with U|
|00000cf0| 73 65 72 4c 61 6e 64 20 | 46 72 6f 6e 74 69 65 72 |serLand |Frontier|
|00000d00| 2e 22 29 0d 73 79 73 2e | 62 72 69 6e 67 41 70 70 |.").sys.|bringApp|
|00000d10| 54 6f 46 72 6f 6e 74 20 | 28 61 70 70 6e 61 6d 65 |ToFront |(appname|
|00000d20| 29 0d 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |).......|........|
|00000d30| 00 00 00 00 80 00 00 00 | 00 00 0c 65 6e 74 65 72 |........|...enter|
|00000d40| 41 70 70 4e 61 6d 65 00 | 00 0c 84 00 01 04 b8 00 |AppName.|........|
|00000d50| 02 00 00 01 c8 00 00 0a | 40 00 00 02 00 00 0f 06 |........|@.......|
|00000d60| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 45 00 |........|......E.|
|00000d90| 00 a6 ba 70 ad a6 f7 1c | f7 00 00 00 1c 00 00 00 |...p....|........|
|00000da0| 26 00 07 01 b6 02 1e 00 | 00 00 00 00 00 00 00 00 |&.......|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 69 | 66 20 64 69 61 6c 6f 67 |.......i|f dialog|
|00000dd0| 2e 61 73 6b 20 28 22 45 | 6e 74 65 72 20 74 68 65 |.ask ("E|nter the|
|00000de0| 20 6e 61 6d 65 20 66 6f | 72 20 79 6f 75 72 20 61 | name fo|r your a|
|00000df0| 70 70 27 73 20 d2 47 6c | 75 65 d3 20 74 61 62 6c |pp's .Gl|ue. tabl|
|00000e00| 65 3a 22 2c 20 40 63 6f | 6d 6d 65 72 63 69 61 6c |e:", @co|mmercial|
|00000e10| 2e 61 70 70 6e 61 6d 65 | 29 0d 09 6c 6f 63 61 6c |.appname|)..local|
|00000e20| 20 28 73 6f 6d 65 74 68 | 69 6e 67 43 72 65 61 74 | (someth|ingCreat|
|00000e30| 65 64 20 3d 20 66 61 6c | 73 65 29 0d 09 6c 6f 63 |ed = fal|se)..loc|
|00000e40| 61 6c 20 28 61 64 72 47 | 6c 75 65 54 61 62 6c 65 |al (adrG|lueTable|
|00000e50| 20 3d 20 40 73 79 73 74 | 65 6d 2e 76 65 72 62 73 | = @syst|em.verbs|
|00000e60| 2e 61 70 70 73 2e 5b 63 | 6f 6d 6d 65 72 63 69 61 |.apps.[c|ommercia|
|00000e70| 6c 2e 61 70 70 6e 61 6d | 65 5d 29 0d 09 69 66 20 |l.appnam|e])..if |
|00000e80| 6e 6f 74 20 64 65 66 69 | 6e 65 64 20 28 61 64 72 |not defi|ned (adr|
|00000e90| 47 6c 75 65 54 61 62 6c | 65 5e 29 0d 09 09 69 66 |GlueTabl|e^)...if|
|00000ea0| 20 6e 6f 74 20 64 69 61 | 6c 6f 67 2e 63 6f 6e 66 | not dia|log.conf|
|00000eb0| 69 72 6d 20 28 22 43 72 | 65 61 74 65 20 61 20 6e |irm ("Cr|eate a n|
|00000ec0| 65 77 20 67 6c 75 65 20 | 73 63 72 69 70 74 20 74 |ew glue |script t|
|00000ed0| 61 62 6c 65 20 66 6f 72 | 20 22 20 2b 20 63 6f 6d |able for| " + com|
|00000ee0| 6d 65 72 63 69 61 6c 2e | 61 70 70 6e 61 6d 65 20 |mercial.|appname |
|00000ef0| 2b 20 22 3f 22 29 0d 09 | 09 09 72 65 74 75 72 6e |+ "?")..|..return|
|00000f00| 0d 09 09 6e 65 77 20 28 | 74 61 62 6c 65 74 79 70 |...new (|tabletyp|
|00000f10| 65 2c 20 61 64 72 47 6c | 75 65 54 61 62 6c 65 29 |e, adrGl|ueTable)|
|00000f20| 0d 09 09 73 6f 6d 65 74 | 68 69 6e 67 43 72 65 61 |...somet|hingCrea|
|00000f30| 74 65 64 20 3d 20 74 72 | 75 65 0d 09 0d 09 6c 6f |ted = tr|ue....lo|
|00000f40| 63 61 6c 20 28 61 64 72 | 41 70 70 49 6e 66 6f 20 |cal (adr|AppInfo |
|00000f50| 3d 20 40 61 64 72 47 6c | 75 65 54 61 62 6c 65 5e |= @adrGl|ueTable^|
|00000f60| 2e 61 70 70 49 6e 66 6f | 29 0d 09 69 66 20 6e 6f |.appInfo|)..if no|
|00000f70| 74 20 64 65 66 69 6e 65 | 64 20 28 61 64 72 41 70 |t define|d (adrAp|
|00000f80| 70 49 6e 66 6f 5e 29 0d | 09 09 69 66 20 6e 6f 74 |pInfo^).|..if not|
|00000f90| 20 64 69 61 6c 6f 67 2e | 63 6f 6e 66 69 72 6d 20 | dialog.|confirm |
|00000fa0| 28 22 43 72 65 61 74 65 | 20 61 20 6e 65 77 20 61 |("Create| a new a|
|00000fb0| 70 70 49 6e 66 6f 20 74 | 61 62 6c 65 20 66 6f 72 |ppInfo t|able for|
|00000fc0| 20 22 20 2b 20 63 6f 6d | 6d 65 72 63 69 61 6c 2e | " + com|mercial.|
|00000fd0| 61 70 70 6e 61 6d 65 20 | 2b 20 22 3f 22 29 0d 09 |appname |+ "?")..|
|00000fe0| 09 09 72 65 74 75 72 6e | 0d 09 09 6e 65 77 20 28 |..return|...new (|
|00000ff0| 74 61 62 6c 65 74 79 70 | 65 2c 20 61 64 72 41 70 |tabletyp|e, adrAp|
|00001000| 70 49 6e 66 6f 29 0d 09 | 09 73 6f 6d 65 74 68 69 |pInfo)..|.somethi|
|00001010| 6e 67 43 72 65 61 74 65 | 64 20 3d 20 74 72 75 65 |ngCreate|d = true|
|00001020| 0d 09 09 61 64 72 41 70 | 70 49 6e 66 6f 5e 2e 61 |...adrAp|pInfo^.a|
|00001030| 70 70 31 73 75 70 70 6f | 72 74 65 64 20 3d 20 66 |pp1suppo|rted = f|
|00001040| 61 6c 73 65 0d 09 09 61 | 64 72 41 70 70 49 6e 66 |alse...a|drAppInf|
|00001050| 6f 5e 2e 6e 61 6d 65 20 | 3d 20 63 6f 6d 6d 65 72 |o^.name |= commer|
|00001060| 63 69 61 6c 2e 61 70 70 | 6e 61 6d 65 0d 09 09 61 |cial.app|name...a|
|00001070| 64 72 41 70 70 49 6e 66 | 6f 5e 2e 73 68 61 72 65 |drAppInf|o^.share|
|00001080| 64 4d 65 6e 75 73 20 3d | 20 64 69 61 6c 6f 67 2e |dMenus =| dialog.|
|00001090| 79 65 73 4e 6f 20 28 22 | 44 6f 65 73 20 22 20 2b |yesNo ("|Does " +|
|000010a0| 20 63 6f 6d 6d 65 72 63 | 69 61 6c 2e 61 70 70 6e | commerc|ial.appn|
|000010b0| 61 6d 65 20 2b 20 22 20 | 73 75 70 70 6f 72 74 20 |ame + " |support |
|000010c0| 4d 65 6e 75 20 53 68 61 | 72 69 6e 67 3f 22 29 0d |Menu Sha|ring?").|
|000010d0| 09 09 61 64 72 41 70 70 | 49 6e 66 6f 5e 2e 70 61 |..adrApp|Info^.pa|
|000010e0| 74 68 20 3d 20 22 22 0d | 09 09 61 64 72 41 70 70 |th = "".|..adrApp|
|000010f0| 49 6e 66 6f 5e 2e 69 64 | 20 3d 20 27 3f 3f 3f 3f |Info^.id| = '????|
|00001100| 27 0d 09 09 69 66 20 6e | 6f 74 20 64 69 61 6c 6f |'...if n|ot dialo|
|00001110| 67 2e 61 73 6b 20 28 22 | 57 68 61 74 20 69 73 20 |g.ask ("|What is |
|00001120| 22 20 2b 20 63 6f 6d 6d | 65 72 63 69 61 6c 2e 61 |" + comm|ercial.a|
|00001130| 70 70 6e 61 6d 65 20 2b | 20 22 27 73 20 63 72 65 |ppname +| "'s cre|
|00001140| 61 74 6f 72 20 69 64 3f | 22 2c 20 40 61 64 72 41 |ator id?|", @adrA|
|00001150| 70 70 49 6e 66 6f 5e 2e | 69 64 29 0d 09 09 09 72 |ppInfo^.|id)....r|
|00001160| 65 74 75 72 6e 0d 09 09 | 61 64 72 47 6c 75 65 54 |eturn...|adrGlueT|
|00001170| 61 62 6c 65 5e 2e 69 64 | 20 3d 20 61 64 72 41 70 |able^.id| = adrAp|
|00001180| 70 49 6e 66 6f 5e 2e 69 | 64 0d 09 0d 09 6c 6f 63 |pInfo^.i|d....loc|
|00001190| 61 6c 20 28 70 72 6f 6d | 70 74 46 6f 72 46 69 6c |al (prom|ptForFil|
|000011a0| 65 20 3d 20 66 61 6c 73 | 65 29 0d 09 62 75 6e 64 |e = fals|e)..bund|
|000011b0| 6c 65 20 c7 64 65 74 65 | 72 6d 69 6e 65 20 69 66 |le .dete|rmine if|
|000011c0| 20 77 65 20 73 68 6f 75 | 6c 64 20 70 72 6f 6d 70 | we shou|ld promp|
|000011d0| 74 20 66 6f 72 20 74 68 | 65 20 66 69 6c 65 0d 09 |t for th|e file..|
|000011e0| 09 6c 6f 63 61 6c 20 28 | 66 20 3d 20 61 64 72 41 |.local (|f = adrA|
|000011f0| 70 70 49 6e 66 6f 5e 2e | 70 61 74 68 29 0d 09 09 |ppInfo^.|path)...|
|00001200| 69 66 20 66 20 3d 3d 20 | 22 22 0d 09 09 09 70 72 |if f == |""....pr|
|00001210| 6f 6d 70 74 46 6f 72 46 | 69 6c 65 20 3d 20 74 72 |omptForF|ile = tr|
|00001220| 75 65 0d 09 09 65 6c 73 | 65 0d 09 09 09 69 66 20 |ue...els|e....if |
|00001230| 66 69 6c 65 2e 65 78 69 | 73 74 73 20 28 66 29 0d |file.exi|sts (f).|
|00001240| 09 09 09 09 69 66 20 66 | 69 6c 65 2e 74 79 70 65 |....if f|ile.type|
|00001250| 20 28 66 29 20 ad 20 27 | 41 50 50 4c 27 0d 09 09 | (f) . '|APPL'...|
|00001260| 09 09 09 70 72 6f 6d 70 | 74 46 6f 72 46 69 6c 65 |...promp|tForFile|
|00001270| 20 3d 20 74 72 75 65 0d | 09 09 09 65 6c 73 65 0d | = true.|...else.|
|00001280| 09 09 09 09 70 72 6f 6d | 70 74 46 6f 72 46 69 6c |....prom|ptForFil|
|00001290| 65 20 3d 20 74 72 75 65 | 0d 09 69 66 20 70 72 6f |e = true|..if pro|
|000012a0| 6d 70 74 46 6f 72 46 69 | 6c 65 0d 09 09 61 64 72 |mptForFi|le...adr|
|000012b0| 41 70 70 49 6e 66 6f 5e | 2e 70 61 74 68 20 3d 20 |AppInfo^|.path = |
|000012c0| 66 69 6c 65 2e 66 69 6e | 64 41 70 70 6c 69 63 61 |file.fin|dApplica|
|000012d0| 74 69 6f 6e 20 28 61 64 | 72 41 70 70 49 6e 66 6f |tion (ad|rAppInfo|
|000012e0| 5e 2e 69 64 29 0d 09 09 | 69 66 20 6e 6f 74 20 66 |^.id)...|if not f|
|000012f0| 69 6c 65 2e 67 65 74 46 | 69 6c 65 44 69 61 6c 6f |ile.getF|ileDialo|
|00001300| 67 20 28 22 57 68 65 72 | 65 20 69 73 20 22 20 2b |g ("Wher|e is " +|
|00001310| 20 63 6f 6d 6d 65 72 63 | 69 61 6c 2e 61 70 70 6e | commerc|ial.appn|
|00001320| 61 6d 65 20 2b 20 22 3f | 22 2c 20 40 61 64 72 41 |ame + "?|", @adrA|
|00001330| 70 70 49 6e 66 6f 5e 2e | 70 61 74 68 2c 20 27 41 |ppInfo^.|path, 'A|
|00001340| 50 50 4c 27 29 0d 09 09 | 09 72 65 74 75 72 6e 0d |PPL')...|.return.|
|00001350| 09 09 61 64 72 41 70 70 | 49 6e 66 6f 5e 2e 69 64 |..adrApp|Info^.id|
|00001360| 20 3d 20 66 69 6c 65 2e | 63 72 65 61 74 6f 72 20 | = file.|creator |
|00001370| 28 61 64 72 41 70 70 49 | 6e 66 6f 5e 2e 70 61 74 |(adrAppI|nfo^.pat|
|00001380| 68 29 0d 09 0d 09 69 66 | 20 61 64 72 41 70 70 49 |h)....if| adrAppI|
|00001390| 6e 66 6f 5e 2e 73 68 61 | 72 65 64 4d 65 6e 75 73 |nfo^.sha|redMenus|
|000013a0| 0d 09 09 6c 6f 63 61 6c | 20 28 61 64 72 4d 65 6e |...local| (adrMen|
|000013b0| 75 42 61 72 20 3d 20 40 | 73 79 73 74 65 6d 2e 6d |uBar = @|system.m|
|000013c0| 65 6e 75 62 61 72 73 2e | 5b 61 64 72 41 70 70 49 |enubars.|[adrAppI|
|000013d0| 6e 66 6f 5e 2e 69 64 5d | 29 0d 09 09 69 66 20 6e |nfo^.id]|)...if n|
|000013e0| 6f 74 20 64 65 66 69 6e | 65 64 20 28 61 64 72 4d |ot defin|ed (adrM|
|000013f0| 65 6e 75 42 61 72 5e 29 | 0d 09 09 09 69 66 20 6e |enuBar^)|....if n|
|00001400| 6f 74 20 64 69 61 6c 6f | 67 2e 63 6f 6e 66 69 72 |ot dialo|g.confir|
|00001410| 6d 20 28 22 43 72 65 61 | 74 65 20 61 20 6e 65 77 |m ("Crea|te a new|
|00001420| 20 73 68 61 72 65 64 20 | 6d 65 6e 75 20 62 61 72 | shared |menu bar|
|00001430| 20 66 6f 72 20 22 20 2b | 20 63 6f 6d 6d 65 72 63 | for " +| commerc|
|00001440| 69 61 6c 2e 61 70 70 6e | 61 6d 65 20 2b 20 22 3f |ial.appn|ame + "?|
|00001450| 22 29 0d 09 09 09 09 72 | 65 74 75 72 6e 0d 09 09 |").....r|eturn...|
|00001460| 09 6f 6e 20 6c 69 6e 6b | 53 63 72 69 70 74 20 28 |.on link|Script (|
|00001470| 73 63 72 69 70 74 53 74 | 72 69 6e 67 29 0d 09 09 |scriptSt|ring)...|
|00001480| 09 09 6c 6f 63 61 6c 20 | 28 74 65 6d 70 73 63 72 |..local |(tempscr|
|00001490| 69 70 74 29 0d 09 09 09 | 09 0d 09 09 09 09 6e 65 |ipt)....|......ne|
|000014a0| 77 20 28 73 63 72 69 70 | 74 54 79 70 65 2c 20 40 |w (scrip|tType, @|
|000014b0| 74 65 6d 70 73 63 72 69 | 70 74 29 0d 09 09 09 09 |tempscri|pt).....|
|000014c0| 74 61 72 67 65 74 2e 73 | 65 74 20 28 40 74 65 6d |target.s|et (@tem|
|000014d0| 70 73 63 72 69 70 74 29 | 0d 09 09 09 09 65 64 69 |pscript)|.....edi|
|000014e0| 74 4d 65 6e 75 2e 73 65 | 74 46 6f 6e 74 20 28 75 |tMenu.se|tFont (u|
|000014f0| 73 65 72 2e 70 72 65 66 | 65 72 65 6e 63 65 73 2e |ser.pref|erences.|
|00001500| 73 63 72 69 70 74 66 6f | 6e 74 29 0d 09 09 09 09 |scriptfo|nt).....|
|00001510| 65 64 69 74 4d 65 6e 75 | 2e 73 65 74 46 6f 6e 74 |editMenu|.setFont|
|00001520| 53 69 7a 65 20 28 75 73 | 65 72 2e 70 72 65 66 65 |Size (us|er.prefe|
|00001530| 72 65 6e 63 65 73 2e 73 | 63 72 69 70 74 66 6f 6e |rences.s|criptfon|
|00001540| 74 73 69 7a 65 29 0d 09 | 09 09 09 6f 70 2e 73 65 |tsize)..|...op.se|
|00001550| 74 4c 69 6e 65 54 65 78 | 74 20 28 73 63 72 69 70 |tLineTex|t (scrip|
|00001560| 74 53 74 72 69 6e 67 29 | 0d 09 09 09 09 6f 70 2e |tString)|.....op.|
|00001570| 69 6e 73 65 72 74 20 28 | 22 46 72 6f 6e 74 69 65 |insert (|"Frontie|
|00001580| 72 2e 62 72 69 6e 67 54 | 6f 46 72 6f 6e 74 20 28 |r.bringT|oFront (|
|00001590| 29 22 2c 20 64 6f 77 6e | 29 0d 09 09 09 09 74 61 |)", down|).....ta|
|000015a0| 72 67 65 74 2e 63 6c 65 | 61 72 20 28 29 0d 09 09 |rget.cle|ar ()...|
|000015b0| 09 09 0d 09 09 09 09 74 | 61 72 67 65 74 2e 73 65 |.......t|arget.se|
|000015c0| 74 20 28 61 64 72 4d 65 | 6e 75 42 61 72 29 0d 09 |t (adrMe|nuBar)..|
|000015d0| 09 09 09 6d 65 6e 75 2e | 73 65 74 53 63 72 69 70 |...menu.|setScrip|
|000015e0| 74 20 28 74 65 6d 70 73 | 63 72 69 70 74 29 0d 09 |t (temps|cript)..|
|000015f0| 09 09 0d 09 09 09 74 61 | 62 6c 65 2e 63 6f 70 79 |......ta|ble.copy|
|00001600| 20 28 40 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 6e 65 | (@comme|rcial.ne|
|00001610| 77 4d 65 6e 75 42 61 72 | 2c 20 40 73 79 73 74 65 |wMenuBar|, @syste|
|00001620| 6d 2e 6d 65 6e 75 62 61 | 72 73 29 0d 09 09 09 74 |m.menuba|rs)....t|
|00001630| 61 62 6c 65 2e 72 65 6e | 61 6d 65 20 28 40 73 79 |able.ren|ame (@sy|
|00001640| 73 74 65 6d 2e 6d 65 6e | 75 62 61 72 73 2e 6e 65 |stem.men|ubars.ne|
|00001650| 77 4d 65 6e 75 42 61 72 | 2c 20 61 64 72 41 70 70 |wMenuBar|, adrApp|
|00001660| 49 6e 66 6f 5e 2e 69 64 | 29 0d 09 09 09 74 61 72 |Info^.id|)....tar|
|00001670| 67 65 74 2e 73 65 74 20 | 28 61 64 72 4d 65 6e 75 |get.set |(adrMenu|
|00001680| 42 61 72 29 0d 09 09 09 | 6f 70 2e 66 69 72 73 74 |Bar)....|op.first|
|00001690| 53 75 6d 6d 69 74 20 28 | 29 0d 09 09 09 6f 70 2e |Summit (|)....op.|
|000016a0| 65 78 70 61 6e 64 20 28 | 69 6e 66 69 6e 69 74 79 |expand (|infinity|
|000016b0| 29 0d 09 09 09 6f 70 2e | 67 6f 20 28 72 69 67 68 |)....op.|go (righ|
|000016c0| 74 2c 20 31 29 0d 09 09 | 09 6f 70 2e 67 6f 20 28 |t, 1)...|.op.go (|
|000016d0| 64 6f 77 6e 2c 20 69 6e | 66 69 6e 69 74 79 29 20 |down, in|finity) |
|000016e0| c7 63 75 72 73 6f 72 20 | 6f 6e 20 22 45 64 69 74 |.cursor |on "Edit|
|000016f0| 20 53 63 72 69 70 74 73 | 20 54 61 62 6c 65 22 0d | Scripts| Table".|
|00001700| 09 09 09 6c 69 6e 6b 53 | 63 72 69 70 74 20 28 22 |...linkS|cript ("|
|00001710| 65 64 69 74 20 28 40 22 | 20 2b 20 63 6f 6d 6d 65 |edit (@"| + comme|
|00001720| 72 63 69 61 6c 2e 61 70 | 70 6e 61 6d 65 20 2b 20 |rcial.ap|pname + |
|00001730| 22 29 22 29 0d 09 09 09 | 6f 70 2e 67 6f 20 28 75 |")")....|op.go (u|
|00001740| 70 2c 20 31 29 20 c7 63 | 75 72 73 6f 72 20 6f 6e |p, 1) .c|ursor on|
|00001750| 20 22 45 64 69 74 20 53 | 68 61 72 65 64 20 4d 65 | "Edit S|hared Me|
|00001760| 6e 75 22 0d 09 09 09 6c | 69 6e 6b 53 63 72 69 70 |nu"....l|inkScrip|
|00001770| 74 20 28 22 65 64 69 74 | 20 28 40 73 79 73 74 65 |t ("edit| (@syste|
|00001780| 6d 2e 6d 65 6e 75 62 61 | 72 73 2e 5b 4d 69 6e 41 |m.menuba|rs.[MinA|
|00001790| 70 70 2e 69 64 5d 29 22 | 29 0d 09 09 09 6f 70 2e |pp.id])"|)....op.|
|000017a0| 66 69 72 73 74 53 75 6d | 6d 69 74 20 28 29 0d 09 |firstSum|mit ()..|
|000017b0| 09 09 74 61 72 67 65 74 | 2e 63 6c 65 61 72 20 28 |..target|.clear (|
|000017c0| 29 0d 09 09 09 73 6f 6d | 65 74 68 69 6e 67 43 72 |)....som|ethingCr|
|000017d0| 65 61 74 65 64 20 3d 20 | 74 72 75 65 0d 09 0d 09 |eated = |true....|
|000017e0| 69 66 20 73 6f 6d 65 74 | 68 69 6e 67 43 72 65 61 |if somet|hingCrea|
|000017f0| 74 65 64 0d 09 09 66 69 | 6c 65 4d 65 6e 75 2e 73 |ted...fi|leMenu.s|
|00001800| 61 76 65 20 28 29 0d 80 | 00 00 00 00 00 80 00 00 |ave ()..|........|
|00001810| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00001820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001830| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001840| 00 00 00 80 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001890| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000018a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018d0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00001900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|000019c0| 00 00 00 80 00 00 00 00 | 00 00 00 00 00 00 00 0b |........|........|
|000019d0| 63 6f 6d 70 69 6c 65 44 | 6f 63 73 00 00 09 6d 00 |compileD|ocs...m.|
|000019e0| 01 04 b8 00 02 00 00 01 | 98 00 00 07 59 00 00 02 |........|....Y...|
|000019f0| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 09 00 | 00 00 00 00 03 00 00 00 |........|........|
|00001a20| 00 06 54 00 00 a5 ee 5f | de a6 f7 1c f8 00 00 00 |..T...._|........|
|00001a30| 13 00 00 00 26 00 4b 01 | b6 01 da 00 00 00 00 00 |....&.K.|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 6f 6e 20 63 6f |........|...on co|
|00001a60| 6d 70 69 6c 65 44 6f 63 | 73 20 28 61 64 72 4f 75 |mpileDoc|s (adrOu|
|00001a70| 74 6c 69 6e 65 29 0d 09 | 20 76 65 72 73 69 6f 6e |tline)..| version|
|00001a80| 20 31 2e 31 3b 20 38 2f | 32 31 2f 39 32 2c 20 64 | 1.1; 8/|21/92, d|
|00001a90| 6d 62 0d 09 09 75 73 65 | 20 27 c8 20 27 63 68 61 |mb...use| '. 'cha|
|00001aa0| 72 61 63 74 65 72 20 66 | 6f 72 20 65 78 61 6d 70 |racter f|or examp|
|00001ab0| 6c 65 20 72 65 73 75 6c | 74 73 2c 20 61 6e 64 20 |le resul|ts, and |
|00001ac0| 6f 6e 6c 79 20 69 6e 20 | 65 78 61 6d 70 6c 65 73 |only in |examples|
|00001ad0| 20 73 65 63 74 69 6f 6e | 0d 09 09 09 61 6c 73 6f | section|....also|
|00001ae0| 20 63 68 65 63 6b 73 20 | 74 6f 20 73 65 65 20 69 | checks |to see i|
|00001af0| 66 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |f the ch|aracter |
|00001b00| 69 73 20 61 6c 72 65 61 | 64 79 20 74 68 65 72 65 |is alrea|dy there|
|00001b10| 0d 09 09 09 61 6e 64 20 | 6d 61 6b 65 73 20 73 75 |....and |makes su|
|00001b20| 72 65 20 74 68 61 74 20 | 69 74 27 73 20 74 68 65 |re that |it's the|
|00001b30| 20 6f 6e 6c 79 20 68 65 | 61 64 69 6e 67 20 61 74 | only he|ading at|
|00001b40| 20 74 68 61 74 20 6c 65 | 76 65 6c 0d 09 09 77 72 | that le|vel...wr|
|00001b50| 69 74 65 20 65 61 63 68 | 20 76 65 72 62 20 6f 75 |ite each| verb ou|
|00001b60| 74 20 74 6f 20 74 68 65 | 20 66 69 6c 65 20 77 65 |t to the| file we|
|00001b70| 20 67 6f 2c 20 72 65 64 | 75 63 69 6e 67 20 6d 65 | go, red|ucing me|
|00001b80| 6d 6f 72 79 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |mory req|uirement|
|00001b90| 73 0d 09 6c 6f 63 61 6c | 20 28 73 29 20 c7 68 6f |s..local| (s) .ho|
|00001ba0| 6c 64 73 20 74 68 65 20 | 74 65 78 74 20 74 6f 20 |lds the |text to |
|00001bb0| 62 65 20 77 72 69 74 74 | 65 6e 20 74 6f 20 74 68 |be writt|en to th|
|00001bc0| 65 20 66 69 6c 65 0d 09 | 0d 09 64 65 73 74 66 69 |e file..|..destfi|
|00001bd0| 6c 65 20 3d 20 22 44 6f | 63 53 65 72 76 65 72 20 |le = "Do|cServer |
|00001be0| 53 6f 75 72 63 65 20 54 | 65 78 74 22 0d 09 69 66 |Source T|ext"..if|
|00001bf0| 20 6e 6f 74 20 66 69 6c | 65 2e 70 75 74 46 69 6c | not fil|e.putFil|
|00001c00| 65 44 69 61 6c 6f 67 20 | 28 22 44 6f 63 53 65 72 |eDialog |("DocSer|
|00001c10| 76 65 72 20 74 65 78 74 | 20 66 69 6c 65 20 74 6f |ver text| file to|
|00001c20| 20 63 72 65 61 74 65 3a | 22 2c 20 40 64 65 73 74 | create:|", @dest|
|00001c30| 66 69 6c 65 29 0d 09 09 | 72 65 74 75 72 6e 0d 09 |file)...|return..|
|00001c40| 0d 09 62 75 6e 64 6c 65 | 20 c7 63 72 65 61 74 65 |..bundle| .create|
|00001c50| 20 74 68 65 20 66 69 6c | 65 0d 09 09 66 69 6c 65 | the fil|e...file|
|00001c60| 2e 6e 65 77 20 28 64 65 | 73 74 66 69 6c 65 29 0d |.new (de|stfile).|
|00001c70| 09 09 66 69 6c 65 2e 73 | 65 74 54 79 70 65 20 28 |..file.s|etType (|
|00001c80| 64 65 73 74 66 69 6c 65 | 2c 20 27 54 45 58 54 27 |destfile|, 'TEXT'|
|00001c90| 29 0d 09 09 66 69 6c 65 | 2e 73 65 74 43 72 65 61 |)...file|.setCrea|
|00001ca0| 74 6f 72 20 28 64 65 73 | 74 66 69 6c 65 2c 20 27 |tor (des|tfile, '|
|00001cb0| 44 4f 43 53 27 29 0d 09 | 0d 09 62 75 6e 64 6c 65 |DOCS')..|..bundle|
|00001cc0| 20 c7 74 72 61 76 65 72 | 73 65 20 74 68 65 20 6f | .traver|se the o|
|00001cd0| 75 74 6c 69 6e 65 2c 20 | 77 72 69 74 69 6e 67 20 |utline, |writing |
|00001ce0| 6f 6e 65 20 76 65 72 62 | 20 74 6f 20 74 68 65 20 |one verb| to the |
|00001cf0| 66 69 6c 65 20 61 74 20 | 61 20 74 69 6d 65 0d 09 |file at |a time..|
|00001d00| 09 74 61 72 67 65 74 2e | 73 65 74 20 28 61 64 72 |.target.|set (adr|
|00001d10| 4f 75 74 6c 69 6e 65 29 | 0d 09 09 6f 70 2e 66 69 |Outline)|...op.fi|
|00001d20| 72 73 74 73 75 6d 6d 69 | 74 20 28 29 0d 09 09 6f |rstsummi|t ()...o|
|00001d30| 70 2e 66 75 6c 6c 63 6f | 6c 6c 61 70 73 65 20 28 |p.fullco|llapse (|
|00001d40| 29 0d 09 09 6c 6f 6f 70 | 0d 09 09 09 73 20 3d 20 |)...loop|....s = |
|00001d50| 63 72 20 2b 20 22 56 65 | 72 62 22 20 2b 20 74 61 |cr + "Ve|rb" + ta|
|00001d60| 62 20 2b 20 6f 70 2e 67 | 65 74 4c 69 6e 65 54 65 |b + op.g|etLineTe|
|00001d70| 78 74 20 28 29 20 2b 20 | 63 72 0d 09 09 09 6f 70 |xt () + |cr....op|
|00001d80| 2e 65 78 70 61 6e 64 20 | 28 31 29 0d 09 09 09 6f |.expand |(1)....o|
|00001d90| 70 2e 67 6f 20 28 72 69 | 67 68 74 2c 20 31 29 0d |p.go (ri|ght, 1).|
|00001da0| 09 09 09 6c 6f 6f 70 0d | 09 09 09 09 6c 6f 63 61 |...loop.|....loca|
|00001db0| 6c 20 28 73 65 63 74 69 | 6f 6e 29 0d 09 09 09 09 |l (secti|on).....|
|00001dc0| 73 65 63 74 69 6f 6e 20 | 3d 20 6f 70 2e 67 65 74 |section |= op.get|
|00001dd0| 4c 69 6e 65 54 65 78 74 | 20 28 29 0d 09 09 09 09 |LineText| ().....|
|00001de0| 73 20 3d 20 73 20 2b 20 | 73 65 63 74 69 6f 6e 20 |s = s + |section |
|00001df0| 2b 20 74 61 62 0d 09 09 | 09 09 6f 70 2e 65 78 70 |+ tab...|..op.exp|
|00001e00| 61 6e 64 20 28 31 29 0d | 09 09 09 09 6f 70 2e 67 |and (1).|....op.g|
|00001e10| 6f 20 28 72 69 67 68 74 | 2c 20 31 29 0d 09 09 09 |o (right|, 1)....|
|00001e20| 09 6c 6f 6f 70 0d 09 09 | 09 09 09 73 20 3d 20 73 |.loop...|...s = s|
|00001e30| 20 2b 20 6f 70 2e 67 65 | 74 4c 69 6e 65 54 65 78 | + op.ge|tLineTex|
|00001e40| 74 20 28 29 20 2b 20 63 | 72 0d 09 09 09 09 09 63 |t () + c|r......c|
|00001e50| 74 53 75 62 73 20 3d 20 | 6f 70 2e 63 6f 75 6e 74 |tSubs = |op.count|
|00001e60| 73 75 62 73 20 28 31 29 | 0d 09 09 09 09 09 69 66 |subs (1)|......if|
|00001e70| 20 63 74 53 75 62 73 20 | 3e 20 30 0d 09 09 09 09 | ctSubs |> 0.....|
|00001e80| 09 09 6f 70 2e 65 78 70 | 61 6e 64 20 28 31 29 0d |..op.exp|and (1).|
|00001e90| 09 09 09 09 09 09 6f 70 | 2e 67 6f 20 28 72 69 67 |......op|.go (rig|
|00001ea0| 68 74 2c 20 31 29 0d 09 | 09 09 09 09 09 69 66 20 |ht, 1)..|.....if |
|00001eb0| 28 63 74 53 75 62 73 20 | 3d 3d 20 31 29 20 61 6e |(ctSubs |== 1) an|
|00001ec0| 64 20 28 73 65 63 74 69 | 6f 6e 20 3d 3d 20 22 45 |d (secti|on == "E|
|00001ed0| 78 61 6d 70 6c 65 73 22 | 29 20 c7 61 6e 20 65 78 |xamples"|) .an ex|
|00001ee0| 61 6d 70 6c 65 0d 09 09 | 09 09 09 09 09 6c 6f 63 |ample...|.....loc|
|00001ef0| 61 6c 20 28 6c 69 6e 65 | 29 0d 09 09 09 09 09 09 |al (line|).......|
|00001f00| 09 6c 69 6e 65 20 3d 20 | 6f 70 2e 67 65 74 4c 69 |.line = |op.getLi|
|00001f10| 6e 65 54 65 78 74 20 28 | 29 0d 09 09 09 09 09 09 |neText (|).......|
|00001f20| 09 69 66 20 73 74 72 69 | 6e 67 2e 6e 74 68 43 68 |.if stri|ng.nthCh|
|00001f30| 61 72 20 28 6c 69 6e 65 | 2c 20 31 29 20 ad 20 27 |ar (line|, 1) . '|
|00001f40| c8 27 0d 09 09 09 09 09 | 09 09 09 6c 69 6e 65 20 |.'......|...line |
|00001f50| 3d 20 22 c8 20 22 20 2b | 20 6c 69 6e 65 0d 09 09 |= ". " +| line...|
|00001f60| 09 09 09 09 09 73 20 3d | 20 73 20 2b 20 74 61 62 |.....s =| s + tab|
|00001f70| 20 2b 20 6c 69 6e 65 20 | 2b 20 63 72 0d 09 09 09 | + line |+ cr....|
|00001f80| 09 09 09 65 6c 73 65 0d | 09 09 09 09 09 09 09 6c |...else.|.......l|
|00001f90| 6f 6f 70 0d 09 09 09 09 | 09 09 09 09 73 20 3d 20 |oop.....|....s = |
|00001fa0| 73 20 2b 20 74 61 62 20 | 2b 20 6f 70 2e 67 65 74 |s + tab |+ op.get|
|00001fb0| 4c 69 6e 65 54 65 78 74 | 20 28 29 20 2b 20 63 72 |LineText| () + cr|
|00001fc0| 0d 09 09 09 09 09 09 09 | 09 69 66 20 6e 6f 74 20 |........|.if not |
|00001fd0| 6f 70 2e 67 6f 20 28 64 | 6f 77 6e 2c 20 31 29 0d |op.go (d|own, 1).|
|00001fe0| 09 09 09 09 09 09 09 09 | 09 62 72 65 61 6b 0d 09 |........|.break..|
|00001ff0| 09 09 09 09 09 6f 70 2e | 67 6f 20 28 6c 65 66 74 |.....op.|go (left|
|00002000| 2c 20 31 29 0d 09 09 09 | 09 09 09 6f 70 2e 63 6f |, 1)....|...op.co|
|00002010| 6c 6c 61 70 73 65 20 28 | 29 0d 09 09 09 09 09 69 |llapse (|)......i|
|00002020| 66 20 6e 6f 74 20 6f 70 | 2e 67 6f 20 28 64 6f 77 |f not op|.go (dow|
|00002030| 6e 2c 20 31 29 0d 09 09 | 09 09 09 09 62 72 65 61 |n, 1)...|....brea|
|00002040| 6b 0d 09 09 09 09 6f 70 | 2e 67 6f 20 28 6c 65 66 |k.....op|.go (lef|
|00002050| 74 2c 20 31 29 0d 09 09 | 09 09 6f 70 2e 63 6f 6c |t, 1)...|..op.col|
|00002060| 6c 61 70 73 65 20 28 29 | 0d 09 09 09 09 69 66 20 |lapse ()|.....if |
|00002070| 6e 6f 74 20 6f 70 2e 67 | 6f 20 28 64 6f 77 6e 2c |not op.g|o (down,|
|00002080| 20 31 29 0d 09 09 09 09 | 09 62 72 65 61 6b 0d 09 | 1).....|.break..|
|00002090| 09 09 6f 70 2e 67 6f 20 | 28 6c 65 66 74 2c 20 31 |..op.go |(left, 1|
|000020a0| 29 0d 09 09 09 6f 70 2e | 63 6f 6c 6c 61 70 73 65 |)....op.|collapse|
|000020b0| 20 28 29 0d 09 09 09 6d | 73 67 20 28 73 69 7a 65 | ()....m|sg (size|
|000020c0| 6f 66 20 28 73 29 20 2b | 20 22 20 63 68 61 72 73 |of (s) +| " chars|
|000020d0| 2e 22 29 0d 09 09 09 66 | 69 6c 65 2e 77 72 69 74 |.")....f|ile.writ|
|000020e0| 65 20 28 64 65 73 74 66 | 69 6c 65 2c 20 73 29 0d |e (destf|ile, s).|
|000020f0| 09 09 09 69 66 20 6e 6f | 74 20 6f 70 2e 67 6f 20 |...if no|t op.go |
|00002100| 28 64 6f 77 6e 2c 20 31 | 29 0d 09 09 09 09 62 72 |(down, 1|).....br|
|00002110| 65 61 6b 0d 09 09 6f 70 | 2e 66 69 72 73 74 73 75 |eak...op|.firstsu|
|00002120| 6d 6d 69 74 20 28 29 0d | 09 09 74 61 72 67 65 74 |mmit ().|..target|
|00002130| 2e 63 6c 65 61 72 20 28 | 29 20 c7 64 6f 6e 65 20 |.clear (|) .done |
|00002140| 77 69 74 68 20 74 68 65 | 20 6f 75 74 6c 69 6e 65 |with the| outline|
|00002150| 0d 09 0d 09 46 69 6e 64 | 65 72 2e 72 65 76 65 61 |....Find|er.revea|
|00002160| 6c 20 28 64 65 73 74 66 | 69 6c 65 29 20 c7 73 68 |l (destf|ile) .sh|
|00002170| 6f 77 20 74 68 65 20 65 | 78 70 6f 72 74 65 64 20 |ow the e|xported |
|00002180| 66 69 6c 65 0d 09 46 72 | 6f 6e 74 69 65 72 2e 66 |file..Fr|ontier.f|
|00002190| 69 6e 64 65 72 54 6f 46 | 72 6f 6e 74 20 3d 20 66 |inderToF|ront = f|
|000021a0| 61 6c 73 65 0d 09 72 65 | 74 75 72 6e 20 28 74 72 |alse..re|turn (tr|
|000021b0| 75 65 29 0d 80 00 00 00 | 00 00 84 00 00 00 00 00 |ue).....|........|
|000021c0| 80 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000021e0| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000021f0| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002200| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002210| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002220| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002230| 00 00 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002330| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002340| 80 00 00 00 00 00 80 00 | 00 00 00 00 04 6d 65 6e |........|.....men|
|00002350| 75 00 00 14 9f 00 01 05 | b8 00 00 02 c2 00 01 00 |u.......|........|
|00002360| 03 b6 fc 00 00 00 01 00 | 00 00 e5 00 8c 01 d5 02 |........|........|
|00002370| 09 00 00 00 00 00 04 06 | 47 65 6e 65 76 61 00 00 |........|Geneva..|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 0c 00 26 00 64 01 |........|....&.d.|
|000023a0| b6 01 c1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 00 |........|........|
|000023d0| 00 00 e0 00 00 00 fa 00 | 04 02 00 00 0f 07 43 68 |........|......Ch|
|000023e0| 69 63 61 67 6f 00 00 00 | 00 00 00 00 00 00 00 00 |icago...|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 0c 00 00 00 00 00 01 00 | 00 00 00 06 45 00 00 a4 |........|....E...|
|00002410| 97 53 96 a6 f7 1d 1f 00 | 00 02 47 00 00 00 b1 00 |.S......|..G.....|
|00002420| b6 01 2e 01 c9 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002440| 00 00 00 00 00 47 6c 75 | 65 0d 09 41 62 6f 75 74 |.....Glu|e..About|
|00002450| 20 74 68 65 20 47 6c 75 | 65 20 4d 65 6e 75 c9 0d | the Glu|e Menu..|
|00002460| 09 2d 0d 09 45 6e 74 65 | 72 20 79 6f 75 72 20 41 |.-..Ente|r your A|
|00002470| 70 70 d5 73 20 4e 61 6d | 65 c9 0d 09 4f 70 65 6e |pp.s Nam|e...Open|
|00002480| 20 54 61 62 6c 65 20 26 | 20 4d 65 6e 75 0d 09 2d | Table &| Menu..-|
|00002490| 0d 09 45 78 70 6f 72 74 | 20 49 6e 73 74 61 6c 6c |..Export| Install|
|000024a0| 20 46 69 6c 65 c9 0d 09 | 2d 0d 09 3d 22 4c 61 75 | File...|-..="Lau|
|000024b0| 6e 63 68 20 22 20 2b 20 | 63 6f 6d 6d 65 72 63 69 |nch " + |commerci|
|000024c0| 61 6c 2e 61 70 70 6e 61 | 6d 65 0d 09 2d 0d 09 43 |al.appna|me..-..C|
|000024d0| 6f 6d 70 69 6c 65 20 44 | 6f 63 53 65 72 76 65 72 |ompile D|ocServer|
|000024e0| 20 54 65 78 74 0d 09 49 | 6d 70 6f 72 74 20 27 61 | Text..I|mport 'a|
|000024f0| 65 74 65 27 20 49 6e 66 | 6f c9 0d 09 2d 0d 09 54 |ete' Inf|o...-..T|
|00002500| 48 49 4e 4b 20 43 0d 09 | 09 44 65 62 75 67 67 69 |HINK C..|.Debuggi|
|00002510| 6e 67 c9 0d 09 09 4e 6f | 74 20 44 65 62 75 67 67 |ng....No|t Debugg|
|00002520| 69 6e 67 c9 0d 09 2d 0d | 09 45 64 69 74 20 4d 65 |ing...-.|.Edit Me|
|00002530| 6e 75 0d 09 45 64 69 74 | 20 54 61 62 6c 65 0d 80 |nu..Edit| Table..|
|00002540| 00 00 00 00 00 80 00 00 | 00 00 0a 00 00 00 03 ca |........|........|
|00002550| a7 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00002560| 0a 31 00 00 03 ca 02 00 | 00 00 00 80 00 00 00 00 |.1......|........|
|00002570| 0a 32 00 00 03 c7 db 00 | 00 00 00 80 00 00 00 00 |.2......|........|
|00002580| 00 80 00 00 00 00 0a 33 | 00 00 03 c5 71 00 00 00 |.......3|....q...|
|00002590| 00 80 00 00 00 00 00 80 | 00 00 00 00 0a 00 00 00 |........|........|
|000025a0| 03 c4 c5 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000025b0| 00 00 0a 00 00 00 03 c3 | 4a 00 00 00 00 80 00 00 |........|J.......|
|000025c0| 00 00 0a 00 00 00 03 bf | fd 00 00 00 00 80 00 00 |........|........|
|000025d0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 0a 00 |........|........|
|000025e0| 00 00 03 bd 05 00 00 00 | 00 80 00 00 00 00 0a 00 |........|........|
|000025f0| 00 00 03 ba 99 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00002600| 00 00 00 00 0a 4d 00 00 | 03 b9 f7 00 00 00 00 80 |.....M..|........|
|00002610| 00 00 00 00 0a 54 00 00 | 03 b9 5a 00 00 00 00 00 |.....T..|..Z.....|
|00002620| 02 00 00 00 06 00 00 00 | 82 00 00 02 00 00 0f 06 |........|........|
|00002630| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00002640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002650| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00002660| 00 a4 42 40 52 a6 f7 1c | f8 00 00 00 10 00 00 00 |..B@R...|........|
|00002670| b1 00 b6 01 2e 01 c9 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002690| 00 00 00 00 00 00 00 64 | 69 61 6c 6f 67 2e 61 6c |.......d|ialog.al|
|000026a0| 65 72 74 20 28 22 54 68 | 65 73 65 20 63 6f 6d 6d |ert ("Th|ese comm|
|000026b0| 61 6e 64 73 20 61 73 73 | 69 73 74 20 63 6f 6d 6d |ands ass|ist comm|
|000026c0| 65 72 63 69 61 6c 20 73 | 6f 66 74 77 61 72 65 20 |ercial s|oftware |
|000026d0| 64 65 76 65 6c 6f 70 65 | 72 73 20 69 6e 20 63 72 |develope|rs in cr|
|000026e0| 65 61 74 69 6e 67 20 46 | 72 6f 6e 74 69 65 72 20 |eating F|rontier |
|000026f0| d2 69 6e 73 74 61 6c 6c | d3 20 66 69 6c 65 73 20 |.install|. files |
|00002700| 66 6f 72 20 74 68 65 69 | 72 20 61 70 70 6c 69 63 |for thei|r applic|
|00002710| 61 74 69 6f 6e 2e 22 29 | 0d 80 00 00 00 00 00 00 |ation.")|........|
|00002720| 02 00 00 00 06 00 00 00 | 1b 00 00 02 00 00 0f 06 |........|........|
|00002730| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00002740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00002760| 00 a4 f7 b2 57 a6 f7 1c | f8 00 00 00 11 80 00 00 |....W...|........|
|00002770| 8c 00 7f 01 54 02 00 00 | 00 00 00 00 00 00 00 00 |....T...|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002790| 00 00 00 00 00 00 00 63 | 6f 6d 6d 65 72 63 69 61 |.......c|ommercia|
|000027a0| 6c 2e 65 6e 74 65 72 41 | 70 70 4e 61 6d 65 20 28 |l.enterA|ppName (|
|000027b0| 29 0d 80 00 00 00 00 00 | 00 02 00 00 00 4e 00 00 |).......|.....N..|
|000027c0| 01 55 00 00 02 00 00 0f | 06 47 65 6e 65 76 61 00 |.U......|.Geneva.|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 09 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 06 45 | 00 00 a4 41 d2 c3 a6 f7 |.......E|...A....|
|00002800| 1c f8 00 00 00 18 00 00 | 00 b1 00 b6 01 2e 01 c9 |........|........|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002830| 6c 6f 63 61 6c 20 28 61 | 64 72 54 61 62 6c 65 20 |local (a|drTable |
|00002840| 3d 20 40 73 79 73 74 65 | 6d 2e 76 65 72 62 73 2e |= @syste|m.verbs.|
|00002850| 61 70 70 73 2e 5b 63 6f | 6d 6d 65 72 63 69 61 6c |apps.[co|mmercial|
|00002860| 2e 61 70 70 6e 61 6d 65 | 5d 29 0d 0d 65 64 69 74 |.appname|])..edit|
|00002870| 20 28 61 64 72 54 61 62 | 6c 65 29 0d 0d 69 66 20 | (adrTab|le)..if |
|00002880| 61 64 72 54 61 62 6c 65 | 5e 2e 61 70 70 49 6e 66 |adrTable|^.appInf|
|00002890| 6f 2e 73 68 61 72 65 64 | 4d 65 6e 75 73 0d 09 6c |o.shared|Menus..l|
|000028a0| 6f 63 61 6c 20 28 69 64 | 20 3d 20 61 64 72 54 61 |ocal (id| = adrTa|
|000028b0| 62 6c 65 5e 2e 61 70 70 | 49 6e 66 6f 2e 69 64 29 |ble^.app|Info.id)|
|000028c0| 0d 09 6c 6f 63 61 6c 20 | 28 61 64 72 20 3d 20 40 |..local |(adr = @|
|000028d0| 73 79 73 74 65 6d 2e 6d | 65 6e 75 62 61 72 73 2e |system.m|enubars.|
|000028e0| 5b 69 64 5d 29 0d 09 69 | 66 20 64 65 66 69 6e 65 |[id])..i|f define|
|000028f0| 64 20 28 61 64 72 5e 29 | 0d 09 09 65 64 69 74 20 |d (adr^)|...edit |
|00002900| 28 61 64 72 29 0d 09 65 | 6c 73 65 0d 09 09 69 66 |(adr)..e|lse...if|
|00002910| 20 64 69 61 6c 6f 67 2e | 63 6f 6e 66 69 72 6d 20 | dialog.|confirm |
|00002920| 28 22 43 72 65 61 74 65 | 20 61 20 6e 65 77 20 73 |("Create| a new s|
|00002930| 68 61 72 65 64 20 6d 65 | 6e 75 20 66 6f 72 20 22 |hared me|nu for "|
|00002940| 20 2b 20 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 61 70 | + comme|rcial.ap|
|00002950| 70 6e 61 6d 65 20 2b 20 | 22 3f 22 29 0d 09 09 09 |pname + |"?")....|
|00002960| 6e 65 77 20 28 6d 65 6e | 75 62 61 72 54 79 70 65 |new (men|ubarType|
|00002970| 2c 20 61 64 72 29 0d 09 | 09 09 65 64 69 74 20 28 |, adr)..|..edit (|
|00002980| 61 64 72 29 0d 80 00 00 | 00 00 00 80 00 00 00 00 |adr)....|........|
|00002990| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000029a0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000029b0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000029c0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000029d0| 00 00 00 00 02 00 00 00 | 36 00 00 01 b0 00 08 02 |........|6.......|
|000029e0| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 00 00 00 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a10| 00 06 54 00 00 a4 0c 11 | 37 a6 f7 1c f8 00 00 00 |..T.....|7.......|
|00002a20| 3a 80 00 00 b1 00 b6 01 | 2e 01 c9 00 00 00 00 00 |:.......|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 69 66 20 64 69 |........|...if di|
|00002a50| 61 6c 6f 67 2e 79 65 73 | 4e 6f 20 28 22 43 72 65 |alog.yes|No ("Cre|
|00002a60| 61 74 65 20 61 20 46 72 | 6f 6e 74 69 65 72 20 49 |ate a Fr|ontier I|
|00002a70| 6e 73 74 61 6c 6c 20 66 | 69 6c 65 20 66 6f 72 20 |nstall f|ile for |
|00002a80| d2 22 20 2b 20 63 6f 6d | 6d 65 72 63 69 61 6c 2e |." + com|mercial.|
|00002a90| 61 70 70 6e 61 6d 65 20 | 2b 20 22 d3 3f 22 29 0d |appname |+ ".?").|
|00002aa0| 09 6c 6f 63 61 6c 20 28 | 69 6e 66 6f 74 61 62 6c |.local (|infotabl|
|00002ab0| 65 20 3d 20 40 73 79 73 | 74 65 6d 2e 76 65 72 62 |e = @sys|tem.verb|
|00002ac0| 73 2e 61 70 70 73 2e 5b | 63 6f 6d 6d 65 72 63 69 |s.apps.[|commerci|
|00002ad0| 61 6c 2e 61 70 70 6e 61 | 6d 65 5d 2e 61 70 70 49 |al.appna|me].appI|
|00002ae0| 6e 66 6f 29 0d 09 0d 09 | 6c 6f 63 61 6c 20 28 66 |nfo)....|local (f|
|00002af0| 6e 61 6d 65 20 3d 20 63 | 6f 6d 6d 65 72 63 69 61 |name = c|ommercia|
|00002b00| 6c 2e 61 70 70 6e 61 6d | 65 20 2b 20 22 2e 46 72 |l.appnam|e + ".Fr|
|00002b10| 6f 6e 74 69 65 72 22 29 | 0d 09 69 66 20 66 69 6c |ontier")|..if fil|
|00002b20| 65 2e 65 78 69 73 74 73 | 20 28 69 6e 66 6f 74 61 |e.exists| (infota|
|00002b30| 62 6c 65 5e 2e 70 61 74 | 68 29 0d 09 09 66 6e 61 |ble^.pat|h)...fna|
|00002b40| 6d 65 20 3d 20 66 69 6c | 65 2e 66 6f 6c 64 65 72 |me = fil|e.folder|
|00002b50| 46 72 6f 6d 50 61 74 68 | 20 28 69 6e 66 6f 74 61 |FromPath| (infota|
|00002b60| 62 6c 65 5e 2e 70 61 74 | 68 29 20 2b 20 66 6e 61 |ble^.pat|h) + fna|
|00002b70| 6d 65 0d 09 0d 09 69 66 | 20 66 69 6c 65 2e 70 75 |me....if| file.pu|
|00002b80| 74 46 69 6c 65 44 69 61 | 6c 6f 67 20 28 22 53 61 |tFileDia|log ("Sa|
|00002b90| 76 65 20 49 6e 73 74 61 | 6c 6c 20 66 69 6c 65 20 |ve Insta|ll file |
|00002ba0| 77 68 65 72 65 3f 22 2c | 20 40 66 6e 61 6d 65 29 |where?",| @fname)|
|00002bb0| 0d 09 09 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 63 72 |...comme|rcial.cr|
|00002bc0| 65 61 74 65 69 6e 73 74 | 61 6c 6c 66 69 6c 65 20 |eateinst|allfile |
|00002bd0| 28 63 6f 6d 6d 65 72 63 | 69 61 6c 2e 61 70 70 6e |(commerc|ial.appn|
|00002be0| 61 6d 65 2c 20 69 6e 66 | 6f 74 61 62 6c 65 5e 2e |ame, inf|otable^.|
|00002bf0| 69 64 2c 20 66 6e 61 6d | 65 29 0d 80 00 00 00 00 |id, fnam|e)......|
|00002c00| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00002c10| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00002c20| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00002c30| 00 00 02 00 00 00 06 00 | 00 00 22 00 00 02 00 00 |........|..".....|
|00002c40| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00002c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00002c70| 78 00 00 a5 28 c8 2a a6 | f7 1c f8 00 00 00 08 00 |x...(.*.|........|
|00002c80| 00 00 96 00 7f 01 5e 02 | 00 00 00 00 00 00 00 00 |......^.|........|
|00002c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 00 00 00 00 00 00 00 00 | 00 61 70 70 2e 73 74 61 |........|.app.sta|
|00002cb0| 72 74 20 28 40 5b 63 6f | 6d 6d 65 72 63 69 61 6c |rt (@[co|mmercial|
|00002cc0| 2e 61 70 70 6e 61 6d 65 | 5d 29 0d 80 00 00 00 00 |.appname|])......|
|00002cd0| 00 00 02 00 00 00 30 00 | 00 00 c7 00 07 02 00 00 |......0.|........|
|00002ce0| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00002cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d00| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|00002d10| 54 00 00 a5 ee 62 34 a6 | f7 1c f8 00 00 00 08 00 |T....b4.|........|
|00002d20| 00 01 59 01 7f 02 21 03 | 00 00 00 00 00 00 00 00 |..Y...!.|........|
|00002d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 65 72 72 6f |........|.on erro|
|00002d50| 72 20 28 29 0d 09 73 63 | 72 69 70 74 45 72 72 6f |r ()..sc|riptErro|
|00002d60| 72 20 28 22 46 72 6f 6e | 74 6d 6f 73 74 20 77 69 |r ("Fron|tmost wi|
|00002d70| 6e 64 6f 77 20 6d 75 73 | 74 20 63 6f 6e 74 61 69 |ndow mus|t contai|
|00002d80| 6e 20 61 6e 20 6f 75 74 | 6c 69 6e 65 2e 22 29 0d |n an out|line.").|
|00002d90| 61 64 72 20 3d 20 77 69 | 6e 64 6f 77 2e 66 72 6f |adr = wi|ndow.fro|
|00002da0| 6e 74 6d 6f 73 74 20 28 | 29 0d 69 66 20 6e 6f 74 |ntmost (|).if not|
|00002db0| 20 64 65 66 69 6e 65 64 | 20 28 61 64 72 5e 29 0d | defined| (adr^).|
|00002dc0| 09 65 72 72 6f 72 20 28 | 29 0d 69 66 20 74 79 70 |.error (|).if typ|
|00002dd0| 65 4f 66 20 28 61 64 72 | 5e 29 20 ad 20 6f 75 74 |eOf (adr|^) . out|
|00002de0| 6c 69 6e 65 54 79 70 65 | 0d 09 65 72 72 6f 72 20 |lineType|..error |
|00002df0| 28 29 0d 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 63 6f |().comme|rcial.co|
|00002e00| 6d 70 69 6c 65 44 6f 63 | 73 20 28 61 64 72 29 0d |mpileDoc|s (adr).|
|00002e10| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00002e20| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00002e30| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00002e40| 00 02 00 00 00 48 00 00 | 02 81 00 00 02 00 00 0f |.....H..|........|
|00002e50| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 06 54 |........|.......T|
|00002e80| 00 00 a4 0c 11 37 a6 f7 | 1c f8 00 00 00 3e 00 00 |.....7..|.....>..|
|00002e90| 00 b1 00 b6 01 2e 01 c9 | 00 00 00 00 00 00 00 00 |........|........|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 6c 6f 63 61 6c 20 28 69 |........|local (i|
|00002ec0| 6e 66 6f 74 61 62 6c 65 | 20 3d 20 40 73 79 73 74 |nfotable| = @syst|
|00002ed0| 65 6d 2e 76 65 72 62 73 | 2e 61 70 70 73 2e 5b 63 |em.verbs|.apps.[c|
|00002ee0| 6f 6d 6d 65 72 63 69 61 | 6c 2e 61 70 70 6e 61 6d |ommercia|l.appnam|
|00002ef0| 65 5d 2e 61 70 70 49 6e | 66 6f 29 0d 69 66 20 6e |e].appIn|fo).if n|
|00002f00| 6f 74 20 66 69 6c 65 2e | 65 78 69 73 74 73 20 28 |ot file.|exists (|
|00002f10| 69 6e 66 6f 74 61 62 6c | 65 5e 2e 70 61 74 68 29 |infotabl|e^.path)|
|00002f20| 0d 09 69 6e 66 6f 74 61 | 62 6c 65 5e 2e 70 61 74 |..infota|ble^.pat|
|00002f30| 68 20 3d 20 66 69 6c 65 | 2e 66 69 6e 64 41 70 70 |h = file|.findApp|
|00002f40| 6c 69 63 61 74 69 6f 6e | 20 28 69 6e 66 6f 74 61 |lication| (infota|
|00002f50| 62 6c 65 5e 2e 69 64 29 | 0d 09 69 66 20 6e 6f 74 |ble^.id)|..if not|
|00002f60| 20 66 69 6c 65 2e 67 65 | 74 46 69 6c 65 44 69 61 | file.ge|tFileDia|
|00002f70| 6c 6f 67 20 28 22 57 68 | 65 72 65 20 69 73 20 22 |log ("Wh|ere is "|
|00002f80| 20 2b 20 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 61 70 | + comme|rcial.ap|
|00002f90| 70 6e 61 6d 65 20 2b 20 | 22 3f 22 2c 20 40 69 6e |pname + |"?", @in|
|00002fa0| 66 6f 74 61 62 6c 65 5e | 2e 70 61 74 68 2c 20 27 |fotable^|.path, '|
|00002fb0| 41 50 50 4c 27 29 0d 09 | 09 72 65 74 75 72 6e 20 |APPL')..|.return |
|00002fc0| 28 66 61 6c 73 65 29 0d | 09 69 6e 66 6f 74 61 62 |(false).|.infotab|
|00002fd0| 6c 65 5e 2e 69 64 20 3d | 20 66 69 6c 65 2e 63 72 |le^.id =| file.cr|
|00002fe0| 65 61 74 6f 72 20 28 69 | 6e 66 6f 74 61 62 6c 65 |eator (i|nfotable|
|00002ff0| 5e 2e 70 61 74 68 29 20 | c7 6b 65 65 70 20 69 6e |^.path) |.keep in|
|00003000| 20 73 79 6e 63 0d 69 66 | 20 72 65 7a 2e 63 6f 75 | sync.if| rez.cou|
|00003010| 6e 74 52 65 73 6f 75 72 | 63 65 73 20 28 69 6e 66 |ntResour|ces (inf|
|00003020| 6f 74 61 62 6c 65 5e 2e | 70 61 74 68 2c 20 27 61 |otable^.|path, 'a|
|00003030| 65 74 65 27 29 20 3d 3d | 20 30 0d 09 64 69 61 6c |ete') ==| 0..dial|
|00003040| 6f 67 2e 61 6c 65 72 74 | 20 28 63 6f 6d 6d 65 72 |og.alert| (commer|
|00003050| 63 69 61 6c 2e 61 70 70 | 6e 61 6d 65 20 2b 20 22 |cial.app|name + "|
|00003060| 20 64 6f 65 73 6e d5 74 | 20 63 6f 6e 74 61 69 6e | doesn.t| contain|
|00003070| 20 61 6e 20 27 61 65 74 | 65 27 20 72 65 73 6f 75 | an 'aet|e' resou|
|00003080| 72 63 65 2e 22 29 0d 09 | 72 65 74 75 72 6e 20 28 |rce.")..|return (|
|00003090| 66 61 6c 73 65 29 0d 69 | 66 20 6e 6f 74 20 64 69 |false).i|f not di|
|000030a0| 61 6c 6f 67 2e 63 6f 6e | 66 69 72 6d 20 28 22 49 |alog.con|firm ("I|
|000030b0| 6d 70 6f 72 74 20 67 6c | 75 65 20 73 63 72 69 70 |mport gl|ue scrip|
|000030c0| 74 73 20 61 6e 64 20 76 | 61 6c 75 65 73 20 66 72 |ts and v|alues fr|
|000030d0| 6f 6d 20 22 20 2b 20 63 | 6f 6d 6d 65 72 63 69 61 |om " + c|ommercia|
|000030e0| 6c 2e 61 70 70 6e 61 6d | 65 20 2b 20 22 d5 73 20 |l.appnam|e + ".s |
|000030f0| 27 61 65 74 65 27 20 72 | 65 73 6f 75 72 63 65 3f |'aete' r|esource?|
|00003100| 22 29 0d 09 72 65 74 75 | 72 6e 20 28 66 61 6c 73 |")..retu|rn (fals|
|00003110| 65 29 0d 72 65 74 75 72 | 6e 20 28 63 6f 6d 6d 65 |e).retur|n (comme|
|00003120| 72 63 69 61 6c 2e 69 6d | 70 6f 72 74 41 65 74 65 |rcial.im|portAete|
|00003130| 49 6e 66 6f 20 28 29 29 | 0d 80 00 00 00 00 00 80 |Info ())|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00003160| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00003170| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00003180| 00 00 02 00 00 00 54 00 | 00 02 20 00 0c 02 00 00 |......T.|.. .....|
|00003190| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000031c0| 54 00 00 a4 93 8e 60 a6 | f7 1c f8 00 00 00 19 00 |T.....`.|........|
|000031d0| 00 00 b1 00 b6 01 2e 01 | c9 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 72 75 6e 20 74 68 69 |........|.run thi|
|00003200| 73 20 73 63 72 69 70 74 | 20 74 6f 20 74 65 73 74 |s script| to test|
|00003210| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 77 68 | your pr|ogram wh|
|00003220| 69 6c 65 20 72 75 6e 6e | 69 6e 67 20 69 6e 20 74 |ile runn|ing in t|
|00003230| 68 65 20 54 48 49 4e 4b | 20 43 20 64 65 62 75 67 |he THINK| C debug|
|00003240| 67 65 72 0d 09 79 6f 75 | 72 20 61 70 70 27 73 20 |ger..you|r app's |
|00003250| 49 41 43 20 6e 61 6d 65 | 20 77 69 6c 6c 20 62 65 |IAC name| will be|
|00003260| 20 4b 41 48 4c 20 77 68 | 65 6e 20 69 74 20 72 75 | KAHL wh|en it ru|
|00003270| 6e 73 20 69 6e 20 74 68 | 65 20 64 65 62 75 67 67 |ns in th|e debugg|
|00003280| 65 72 0d 09 77 68 65 6e | 20 79 6f 75 27 76 65 20 |er..when| you've |
|00003290| 66 69 6e 69 73 68 65 64 | 20 64 65 62 75 67 67 69 |finished| debuggi|
|000032a0| 6e 67 20 73 65 6c 65 63 | 74 20 74 68 65 20 6e 65 |ng selec|t the ne|
|000032b0| 78 74 20 63 6f 6d 6d 61 | 6e 64 3a 0d 09 09 22 4e |xt comma|nd:..."N|
|000032c0| 6f 74 20 44 65 62 75 67 | 67 69 6e 67 c9 22 0d 0d |ot Debug|ging."..|
|000032d0| 73 70 65 61 6b 65 72 2e | 62 65 65 70 20 28 29 0d |speaker.|beep ().|
|000032e0| 69 66 20 64 69 61 6c 6f | 67 2e 63 6f 6e 66 69 72 |if dialo|g.confir|
|000032f0| 6d 20 28 22 53 77 69 74 | 63 68 20 22 20 2b 20 63 |m ("Swit|ch " + c|
|00003300| 6f 6d 6d 65 72 63 69 61 | 6c 2e 61 70 70 6e 61 6d |ommercia|l.appnam|
|00003310| 65 20 2b 20 22 27 73 20 | 49 44 20 74 6f 20 27 4b |e + "'s |ID to 'K|
|00003320| 41 48 4c 27 3f 22 29 0d | 09 63 6f 6d 6d 65 72 63 |AHL'?").|.commerc|
|00003330| 69 61 6c 2e 63 72 65 61 | 74 6f 72 20 3d 20 5b 63 |ial.crea|tor = [c|
|00003340| 6f 6d 6d 65 72 63 69 61 | 6c 2e 61 70 70 6e 61 6d |ommercia|l.appnam|
|00003350| 65 5d 2e 61 70 70 49 6e | 66 6f 2e 69 64 0d 09 5b |e].appIn|fo.id..[|
|00003360| 63 6f 6d 6d 65 72 63 69 | 61 6c 2e 61 70 70 6e 61 |commerci|al.appna|
|00003370| 6d 65 5d 2e 61 70 70 49 | 6e 66 6f 2e 69 64 20 3d |me].appI|nfo.id =|
|00003380| 20 27 4b 41 48 4c 27 0d | 09 5b 63 6f 6d 6d 65 72 | 'KAHL'.|.[commer|
|00003390| 63 69 61 6c 2e 61 70 70 | 6e 61 6d 65 5d 2e 69 64 |cial.app|name].id|
|000033a0| 20 3d 20 27 4b 41 48 4c | 27 0d 09 61 64 72 20 3d | = 'KAHL|'..adr =|
|000033b0| 20 40 73 79 73 74 65 6d | 2e 6d 65 6e 75 62 61 72 | @system|.menubar|
|000033c0| 73 2e 5b 63 6f 6d 6d 65 | 72 63 69 61 6c 2e 63 72 |s.[comme|rcial.cr|
|000033d0| 65 61 74 6f 72 5d 0d 09 | 69 66 20 64 65 66 69 6e |eator]..|if defin|
|000033e0| 65 64 20 28 61 64 72 5e | 29 0d 09 09 74 61 62 6c |ed (adr^|)...tabl|
|000033f0| 65 2e 72 65 6e 61 6d 65 | 20 28 61 64 72 2c 20 27 |e.rename| (adr, '|
|00003400| 4b 41 48 4c 27 29 0d 09 | 66 69 6c 65 4d 65 6e 75 |KAHL')..|fileMenu|
|00003410| 2e 73 61 76 65 20 28 29 | 0d 84 00 00 00 00 00 80 |.save ()|........|
|00003420| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00003430| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00003440| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00003450| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00003460| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 00 02 00 |........|........|
|00003470| 00 00 3c 00 00 01 ac 00 | 09 02 00 00 0f 06 47 65 |..<.....|......Ge|
|00003480| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|00003490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034a0| 09 00 00 00 00 00 00 00 | 00 00 00 06 54 00 00 a4 |........|....T...|
|000034b0| 93 8e b8 a6 f7 1c f8 00 | 00 00 17 00 00 00 b1 00 |........|........|
|000034c0| b6 01 2e 01 c9 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 69 66 20 | 6e 6f 74 20 64 65 66 69 |.....if |not defi|
|000034f0| 6e 65 64 20 28 63 6f 6d | 6d 65 72 63 69 61 6c 2e |ned (com|mercial.|
|00003500| 63 72 65 61 74 6f 72 29 | 0d 09 64 69 61 6c 6f 67 |creator)|..dialog|
|00003510| 2e 61 6c 65 72 74 20 28 | 22 57 65 27 72 65 20 6e |.alert (|"We're n|
|00003520| 6f 74 20 63 75 72 72 65 | 6e 74 6c 79 20 73 65 74 |ot curre|ntly set|
|00003530| 20 75 70 20 66 6f 72 20 | 64 65 62 75 67 67 69 6e | up for |debuggin|
|00003540| 67 2c 20 74 68 65 72 65 | 27 73 20 6e 6f 74 68 69 |g, there|'s nothi|
|00003550| 6e 67 20 74 6f 20 64 6f | 2e 22 29 0d 09 72 65 74 |ng to do|.")..ret|
|00003560| 75 72 6e 0d 73 70 65 61 | 6b 65 72 2e 62 65 65 70 |urn.spea|ker.beep|
|00003570| 20 28 29 0d 69 66 20 64 | 69 61 6c 6f 67 2e 63 6f | ().if d|ialog.co|
|00003580| 6e 66 69 72 6d 20 28 22 | 53 77 69 74 63 68 20 66 |nfirm ("|Switch f|
|00003590| 72 6f 6d 20 27 4b 41 48 | 4c 27 20 62 61 63 6b 20 |rom 'KAH|L' back |
|000035a0| 74 6f 20 27 22 20 2b 20 | 63 6f 6d 6d 65 72 63 69 |to '" + |commerci|
|000035b0| 61 6c 2e 63 72 65 61 74 | 6f 72 20 2b 20 22 27 3f |al.creat|or + "'?|
|000035c0| 22 29 0d 09 5b 63 6f 6d | 6d 65 72 63 69 61 6c 2e |")..[com|mercial.|
|000035d0| 61 70 70 6e 61 6d 65 5d | 2e 61 70 70 49 6e 66 6f |appname]|.appInfo|
|000035e0| 2e 69 64 20 3d 20 63 6f | 6d 6d 65 72 63 69 61 6c |.id = co|mmercial|
|000035f0| 2e 63 72 65 61 74 6f 72 | 0d 09 5b 63 6f 6d 6d 65 |.creator|..[comme|
|00003600| 72 63 69 61 6c 2e 61 70 | 70 6e 61 6d 65 5d 2e 69 |rcial.ap|pname].i|
|00003610| 64 20 3d 20 63 6f 6d 6d | 65 72 63 69 61 6c 2e 63 |d = comm|ercial.c|
|00003620| 72 65 61 74 6f 72 0d 09 | 74 61 62 6c 65 2e 72 65 |reator..|table.re|
|00003630| 6e 61 6d 65 20 28 40 73 | 79 73 74 65 6d 2e 6d 65 |name (@s|ystem.me|
|00003640| 6e 75 62 61 72 73 2e 4b | 41 48 4c 2c 20 63 6f 6d |nubars.K|AHL, com|
|00003650| 6d 65 72 63 69 61 6c 2e | 63 72 65 61 74 6f 72 29 |mercial.|creator)|
|00003660| 0d 09 64 65 6c 65 74 65 | 20 28 40 63 6f 6d 6d 65 |..delete| (@comme|
|00003670| 72 63 69 61 6c 2e 63 72 | 65 61 74 6f 72 29 0d 09 |rcial.cr|eator)..|
|00003680| 66 69 6c 65 4d 65 6e 75 | 2e 73 61 76 65 20 28 29 |fileMenu|.save ()|
|00003690| 0d 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000036a0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000036b0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000036c0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 00 02 00 |........|........|
|000036d0| 00 00 06 00 00 00 18 00 | 00 02 00 00 0f 06 47 65 |........|......Ge|
|000036e0| 6e 65 76 61 00 00 00 00 | 00 00 00 00 00 00 00 00 |neva....|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 09 00 00 00 00 00 00 00 | 00 00 00 06 78 00 00 a4 |........|....x...|
|00003710| 97 56 57 a6 f7 1c f8 00 | 00 00 0a 00 00 00 b1 00 |.VW.....|........|
|00003720| b6 01 2e 01 c9 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 65 64 69 | 74 20 28 40 63 6f 6d 6d |.....edi|t (@comm|
|00003750| 65 72 63 69 61 6c 2e 6d | 65 6e 75 29 0d 80 00 00 |ercial.m|enu)....|
|00003760| 00 00 00 00 02 00 00 00 | 06 00 00 00 13 00 00 02 |........|........|
|00003770| 00 00 0f 06 47 65 6e 65 | 76 61 00 00 00 00 00 00 |....Gene|va......|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 06 78 00 00 a4 97 56 | 68 a6 f7 1c f8 00 00 00 |..x....V|h.......|
|000037b0| 09 00 00 00 b1 00 b6 01 | 2e 01 c9 00 00 00 00 00 |........|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 65 64 69 74 20 |........|...edit |
|000037e0| 28 40 63 6f 6d 6d 65 72 | 63 69 61 6c 29 0d 80 00 |(@commer|cial)...|
|000037f0| 00 00 00 00 0e 69 6d 70 | 6f 72 74 41 65 74 65 49 |.....imp|ortAeteI|
|00003800| 6e 66 6f 00 00 20 0e 00 | 01 04 b8 00 02 00 00 05 |nfo.. ..|........|
|00003810| 46 00 00 1a 4c 00 12 02 | 00 00 0f 06 47 65 6e 65 |F...L...|....Gene|
|00003820| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 09 00 |........|........|
|00003840| 00 00 00 00 06 00 06 00 | 00 06 45 00 0f a6 67 cf |........|..E...g.|
|00003850| a7 a6 f7 1c f8 00 00 00 | 30 00 00 00 38 00 2f 01 |........|0...8./.|
|00003860| d6 02 2d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..-.....|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 6f 6e 20 69 6d | 70 6f 72 74 41 65 74 65 |...on im|portAete|
|00003890| 49 6e 66 6f 20 28 29 0d | 09 6f 6e 20 70 61 72 73 |Info ().|.on pars|
|000038a0| 65 41 65 74 65 20 28 61 | 70 70 50 61 74 68 2c 20 |eAete (a|ppPath, |
|000038b0| 61 64 72 54 61 62 6c 65 | 29 20 c7 70 61 72 73 65 |adrTable|) .parse|
|000038c0| 20 74 68 65 20 61 70 70 | 27 73 20 61 65 74 65 20 | the app|'s aete |
|000038d0| 72 65 73 6f 75 72 63 65 | 20 61 6e 64 20 62 75 69 |resource| and bui|
|000038e0| 6c 64 20 61 20 76 65 72 | 62 20 74 61 62 6c 65 0d |ld a ver|b table.|
|000038f0| 09 09 63 6f 70 79 72 69 | 67 68 74 20 a9 20 31 39 |..copyri|ght . 19|
|00003900| 39 32 3b 20 55 73 65 72 | 4c 61 6e 64 20 53 6f 66 |92; User|Land Sof|
|00003910| 74 77 61 72 65 20 49 6e | 63 2e 0d 09 09 09 39 2f |tware In|c.....9/|
|00003920| 32 34 2f 39 32 20 64 6d | 62 20 2d 20 66 69 72 73 |24/92 dm|b - firs|
|00003930| 74 20 63 75 74 20 70 61 | 72 73 69 6e 67 20 74 68 |t cut pa|rsing th|
|00003940| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 65 |e applic|ation ae|
|00003950| 74 65 20 72 65 73 6f 75 | 72 63 65 20 64 69 72 65 |te resou|rce dire|
|00003960| 63 74 6c 79 0d 09 09 6c | 6f 63 61 6c 20 28 61 65 |ctly...l|ocal (ae|
|00003970| 74 65 2c 20 69 78 20 3d | 20 31 29 0d 09 09 6f 6e |te, ix =| 1)...on|
|00003980| 20 67 65 74 73 68 6f 72 | 74 20 28 29 0d 09 09 09 | getshor|t ()....|
|00003990| 6c 6f 63 61 6c 20 28 6e | 29 0d 09 09 09 72 6f 6c |local (n|)....rol|
|000039a0| 6c 62 65 61 63 68 62 61 | 6c 6c 20 28 29 0d 09 09 |lbeachba|ll ()...|
|000039b0| 09 6e 20 3d 20 6e 75 6d | 62 65 72 20 28 62 69 6e |.n = num|ber (bin|
|000039c0| 61 72 79 20 28 73 74 72 | 69 6e 67 2e 6d 69 64 20 |ary (str|ing.mid |
|000039d0| 28 61 65 74 65 2c 20 69 | 78 2c 20 32 29 29 29 0d |(aete, i|x, 2))).|
|000039e0| 09 09 09 69 78 20 3d 20 | 69 78 20 2b 20 32 0d 09 |...ix = |ix + 2..|
|000039f0| 09 09 72 65 74 75 72 6e | 20 28 6e 29 0d 09 09 6f |..return| (n)...o|
|00003a00| 6e 20 67 65 74 73 74 72 | 69 6e 67 20 28 29 0d 09 |n getstr|ing ()..|
|00003a10| 09 09 6c 6f 63 61 6c 20 | 28 6e 2c 20 73 29 0d 09 |..local |(n, s)..|
|00003a20| 09 09 72 6f 6c 6c 62 65 | 61 63 68 62 61 6c 6c 20 |..rollbe|achball |
|00003a30| 28 29 0d 09 09 09 6e 20 | 3d 20 6e 75 6d 62 65 72 |()....n |= number|
|00003a40| 20 28 73 74 72 69 6e 67 | 2e 6e 74 68 43 68 61 72 | (string|.nthChar|
|00003a50| 20 28 61 65 74 65 2c 20 | 69 78 29 29 0d 09 09 09 | (aete, |ix))....|
|00003a60| 73 20 3d 20 73 74 72 69 | 6e 67 2e 6d 69 64 20 28 |s = stri|ng.mid (|
|00003a70| 61 65 74 65 2c 20 69 78 | 20 2b 20 31 2c 20 6e 29 |aete, ix| + 1, n)|
|00003a80| 0d 09 09 09 69 78 20 3d | 20 69 78 20 2b 20 6e 20 |....ix =| ix + n |
|00003a90| 2b 20 31 0d 09 09 09 72 | 65 74 75 72 6e 20 28 73 |+ 1....r|eturn (s|
|00003aa0| 29 0d 09 09 6f 6e 20 67 | 65 74 73 74 72 69 6e 67 |)...on g|etstring|
|00003ab0| 34 20 28 29 0d 09 09 09 | 6c 6f 63 61 6c 20 28 78 |4 ()....|local (x|
|00003ac0| 29 0d 09 09 09 72 6f 6c | 6c 62 65 61 63 68 62 61 |)....rol|lbeachba|
|00003ad0| 6c 6c 20 28 29 0d 09 09 | 09 78 20 3d 20 73 74 72 |ll ()...|.x = str|
|00003ae0| 69 6e 67 34 20 28 73 74 | 72 69 6e 67 2e 6d 69 64 |ing4 (st|ring.mid|
|00003af0| 20 28 61 65 74 65 2c 20 | 69 78 2c 20 34 29 29 0d | (aete, |ix, 4)).|
|00003b00| 09 09 09 69 78 20 3d 20 | 69 78 20 2b 20 34 0d 09 |...ix = |ix + 4..|
|00003b10| 09 09 72 65 74 75 72 6e | 20 28 78 29 0d 09 09 6f |..return| (x)...o|
|00003b20| 6e 20 67 65 74 6e 61 6d | 65 20 28 29 0d 09 09 09 |n getnam|e ()....|
|00003b30| 6c 6f 63 61 6c 20 28 69 | 78 53 70 61 63 65 2c 20 |local (i|xSpace, |
|00003b40| 78 29 0d 09 09 09 78 20 | 3d 20 73 74 72 69 6e 67 |x)....x |= string|
|00003b50| 2e 6c 6f 77 65 72 20 28 | 67 65 74 73 74 72 69 6e |.lower (|getstrin|
|00003b60| 67 20 28 29 29 0d 09 09 | 09 77 68 69 6c 65 20 73 |g ())...|.while s|
|00003b70| 74 72 69 6e 67 2e 63 6f | 75 6e 74 57 6f 72 64 73 |tring.co|untWords|
|00003b80| 20 28 78 29 20 3e 20 31 | 20 c7 6d 61 6b 65 20 69 | (x) > 1| .make i|
|00003b90| 74 20 61 6e 20 69 6e 6e | 65 72 43 61 73 65 20 69 |t an inn|erCase i|
|00003ba0| 64 65 6e 74 69 66 69 65 | 72 0d 09 09 09 09 69 78 |dentifie|r.....ix|
|00003bb0| 53 70 61 63 65 20 3d 20 | 73 74 72 69 6e 67 2e 70 |Space = |string.p|
|00003bc0| 61 74 74 65 72 6e 4d 61 | 74 63 68 20 28 27 20 27 |atternMa|tch (' '|
|00003bd0| 2c 20 78 29 0d 09 09 09 | 09 63 68 20 3d 20 73 74 |, x)....|.ch = st|
|00003be0| 72 69 6e 67 2e 75 70 70 | 65 72 20 28 73 74 72 69 |ring.upp|er (stri|
|00003bf0| 6e 67 2e 6e 74 68 43 68 | 61 72 20 28 78 2c 20 69 |ng.nthCh|ar (x, i|
|00003c00| 78 53 70 61 63 65 20 2b | 20 31 29 29 0d 09 09 09 |xSpace +| 1))....|
|00003c10| 09 78 3d 20 73 74 72 69 | 6e 67 2e 66 69 72 73 74 |.x= stri|ng.first|
|00003c20| 57 6f 72 64 20 28 78 29 | 20 2b 20 63 68 20 2b 20 |Word (x)| + ch + |
|00003c30| 73 74 72 69 6e 67 2e 6d | 69 64 20 28 78 2c 20 69 |string.m|id (x, i|
|00003c40| 78 53 70 61 63 65 20 2b | 20 32 2c 20 69 6e 66 69 |xSpace +| 2, infi|
|00003c50| 6e 69 74 79 29 0d 09 09 | 09 6d 73 67 20 28 78 29 |nity)...|.msg (x)|
|00003c60| 0d 09 09 09 72 65 74 75 | 72 6e 20 28 78 29 0d 09 |....retu|rn (x)..|
|00003c70| 09 6f 6e 20 73 6b 69 70 | 73 74 72 69 6e 67 20 28 |.on skip|string (|
|00003c80| 29 0d 09 09 09 67 65 74 | 73 74 72 69 6e 67 20 28 |)....get|string (|
|00003c90| 29 0d 09 09 6f 6e 20 73 | 6b 69 70 62 79 74 65 73 |)...on s|kipbytes|
|00003ca0| 20 28 6e 29 0d 09 09 09 | 69 78 20 3d 20 69 78 20 | (n)....|ix = ix |
|00003cb0| 2b 20 6e 0d 09 09 6f 6e | 20 61 6c 69 67 6e 20 28 |+ n...on| align (|
|00003cc0| 29 0d 09 09 09 69 66 20 | 69 78 20 25 20 32 20 3d |)....if |ix % 2 =|
|00003cd0| 3d 20 30 20 c7 72 65 6d | 65 6d 62 65 72 2c 20 77 |= 0 .rem|ember, w|
|00003ce0| 65 27 72 65 20 69 6e 20 | 61 20 31 2d 62 61 73 65 |e're in |a 1-base|
|00003cf0| 64 20 77 6f 72 6c 64 2c | 20 73 6f 20 74 68 69 73 |d world,| so this|
|00003d00| 20 69 73 20 61 6e 20 6f | 64 64 20 62 79 74 65 0d | is an o|dd byte.|
|00003d10| 09 09 09 09 2b 2b 69 78 | 0d 09 09 6f 6e 20 70 61 |....++ix|...on pa|
|00003d20| 72 73 65 53 75 69 74 65 | 73 20 28 29 0d 09 09 09 |rseSuite|s ()....|
|00003d30| 6c 6f 63 61 6c 20 28 69 | 78 73 75 69 74 65 2c 20 |local (i|xsuite, |
|00003d40| 73 75 69 74 65 43 6f 64 | 65 29 0d 09 09 09 6f 6e |suiteCod|e)....on|
|00003d50| 20 70 61 72 73 65 45 76 | 65 6e 74 73 20 28 29 0d | parseEv|ents ().|
|00003d60| 09 09 09 09 6c 6f 63 61 | 6c 20 28 69 78 65 76 65 |....loca|l (ixeve|
|00003d70| 6e 74 2c 20 63 74 65 76 | 65 6e 74 73 29 0d 09 09 |nt, ctev|ents)...|
|00003d80| 09 09 6f 6e 20 6d 61 6b | 65 53 63 72 69 70 74 20 |..on mak|eScript |
|00003d90| 28 6f 6e 53 74 61 74 65 | 6d 65 6e 74 2c 20 72 65 |(onState|ment, re|
|00003da0| 74 75 72 6e 53 74 61 74 | 65 6d 65 6e 74 2c 20 61 |turnStat|ement, a|
|00003db0| 64 72 29 0d 09 09 09 09 | 09 6e 65 77 20 28 73 63 |dr).....|.new (sc|
|00003dc0| 72 69 70 74 54 79 70 65 | 2c 20 61 64 72 29 0d 09 |riptType|, adr)..|
|00003dd0| 09 09 09 09 74 61 72 67 | 65 74 2e 73 65 74 20 28 |....targ|et.set (|
|00003de0| 61 64 72 29 0d 09 09 09 | 09 09 6f 70 2e 73 65 74 |adr)....|..op.set|
|00003df0| 4c 69 6e 65 54 65 78 74 | 20 28 6f 6e 53 74 61 74 |LineText| (onStat|
|00003e00| 65 6d 65 6e 74 29 0d 09 | 09 09 09 09 6f 70 2e 69 |ement)..|....op.i|
|00003e10| 6e 73 65 72 74 20 28 72 | 65 74 75 72 6e 53 74 61 |nsert (r|eturnSta|
|00003e20| 74 65 6d 65 6e 74 2c 20 | 72 69 67 68 74 29 0d 09 |tement, |right)..|
|00003e30| 09 09 09 09 6f 70 2e 67 | 6f 20 28 6c 65 66 74 2c |....op.g|o (left,|
|00003e40| 20 31 29 0d 09 09 09 09 | 09 77 69 6e 64 6f 77 2e | 1).....|.window.|
|00003e50| 7a 6f 6f 6d 20 28 61 64 | 72 29 0d 09 09 09 09 09 |zoom (ad|r)......|
|00003e60| 63 6c 6f 73 65 20 28 61 | 64 72 29 0d 09 09 09 09 |close (a|dr).....|
|00003e70| 09 72 65 74 75 72 6e 20 | 28 74 72 75 65 29 0d 09 |.return |(true)..|
|00003e80| 09 09 09 63 74 65 76 65 | 6e 74 73 20 3d 20 67 65 |...cteve|nts = ge|
|00003e90| 74 73 68 6f 72 74 20 28 | 29 0d 09 09 09 09 69 66 |tshort (|).....if|
|00003ea0| 20 63 74 65 76 65 6e 74 | 73 20 3d 3d 20 30 20 c7 | ctevent|s == 0 .|
|00003eb0| 6e 6f 20 65 76 65 6e 74 | 73 3b 20 6d 61 70 20 61 |no event|s; map a|
|00003ec0| 6c 6c 20 65 76 65 6e 74 | 73 20 6f 66 20 63 75 72 |ll event|s of cur|
|00003ed0| 72 65 6e 74 20 73 75 69 | 74 65 0d 09 09 09 09 09 |rent sui|te......|
|00003ee0| 6f 6e 20 6d 61 70 53 75 | 69 74 65 20 28 63 6f 64 |on mapSu|ite (cod|
|00003ef0| 65 2c 20 61 64 72 29 0d | 09 09 09 09 09 09 63 61 |e, adr).|......ca|
|00003f00| 73 65 20 63 6f 64 65 0d | 09 09 09 09 09 09 09 27 |se code.|.......'|
|00003f10| 72 65 71 64 27 0d 09 09 | 09 09 09 09 09 09 61 64 |reqd'...|......ad|
|00003f20| 72 5e 20 3d 20 40 73 79 | 73 74 65 6d 2e 6d 61 63 |r^ = @sy|stem.mac|
|00003f30| 69 6e 74 6f 73 68 2e 72 | 65 71 75 69 72 65 64 0d |intosh.r|equired.|
|00003f40| 09 09 09 09 09 09 09 27 | 63 6f 72 65 27 0d 09 09 |.......'|core'...|
|00003f50| 09 09 09 09 09 09 61 64 | 72 5e 20 3d 20 40 73 79 |......ad|r^ = @sy|
|00003f60| 73 74 65 6d 2e 6d 61 63 | 69 6e 74 6f 73 68 2e 63 |stem.mac|intosh.c|
|00003f70| 6f 72 65 0d 09 09 09 09 | 09 09 09 27 6d 69 73 63 |ore.....|...'misc|
|00003f80| 27 0d 09 09 09 09 09 09 | 09 09 61 64 72 5e 20 3d |'.......|..adr^ =|
|00003f90| 20 40 73 79 73 74 65 6d | 2e 6d 61 63 69 6e 74 6f | @system|.macinto|
|00003fa0| 73 68 2e 6d 69 73 63 0d | 09 09 09 09 09 09 65 6c |sh.misc.|......el|
|00003fb0| 73 65 0d 09 09 09 09 09 | 09 09 72 65 74 75 72 6e |se......|..return|
|00003fc0| 20 28 66 61 6c 73 65 29 | 0d 09 09 09 09 09 09 72 | (false)|.......r|
|00003fd0| 65 74 75 72 6e 20 28 74 | 72 75 65 29 0d 09 09 09 |eturn (t|rue)....|
|00003fe0| 09 09 6f 6e 20 6d 61 70 | 45 76 65 6e 74 20 28 61 |..on map|Event (a|
|00003ff0| 64 72 53 63 72 69 70 74 | 2c 20 61 64 72 54 61 62 |drScript|, adrTab|
|00004000| 6c 65 29 0d 09 09 09 09 | 09 09 6c 6f 63 61 6c 0d |le).....|..local.|
|00004010| 09 09 09 09 09 09 09 68 | 64 72 0d 09 09 09 09 09 |.......h|dr......|
|00004020| 09 09 72 74 6e 0d 09 09 | 09 09 09 09 09 76 65 72 |..rtn...|.....ver|
|00004030| 62 20 3d 20 6e 61 6d 65 | 4f 66 20 28 61 64 72 53 |b = name|Of (adrS|
|00004040| 63 72 69 70 74 5e 29 0d | 09 09 09 09 09 09 09 61 |cript^).|.......a|
|00004050| 70 70 4e 61 6d 65 20 3d | 20 6e 61 6d 65 4f 66 20 |ppName =| nameOf |
|00004060| 28 61 64 72 54 61 62 6c | 65 5e 29 0d 09 09 09 09 |(adrTabl|e^).....|
|00004070| 09 09 09 73 75 69 74 65 | 4e 61 6d 65 20 3d 20 73 |...suite|Name = s|
|00004080| 74 72 69 6e 67 2e 6e 74 | 68 46 69 65 6c 64 20 28 |tring.nt|hField (|
|00004090| 61 64 72 53 63 72 69 70 | 74 2c 20 27 2e 27 2c 20 |adrScrip|t, '.', |
|000040a0| 73 74 72 69 6e 67 2e 63 | 6f 75 6e 74 46 69 65 6c |string.c|ountFiel|
|000040b0| 64 73 20 28 61 64 72 53 | 63 72 69 70 74 2c 20 27 |ds (adrS|cript, '|
|000040c0| 2e 27 29 20 2d 20 31 29 | 0d 09 09 09 09 09 09 09 |.') - 1)|........|
|000040d0| 61 64 72 20 3d 20 40 61 | 64 72 54 61 62 6c 65 5e |adr = @a|drTable^|
|000040e0| 2e 5b 76 65 72 62 5d 0d | 09 09 09 09 09 09 72 6f |.[verb].|......ro|
|000040f0| 6c 6c 62 65 61 63 68 62 | 61 6c 6c 20 28 29 0d 09 |llbeachb|all ()..|
|00004100| 09 09 09 09 09 74 61 72 | 67 65 74 2e 73 65 74 20 |.....tar|get.set |
|00004110| 28 61 64 72 53 63 72 69 | 70 74 29 0d 09 09 09 09 |(adrScri|pt).....|
|00004120| 09 09 6d 73 67 20 28 6e | 61 6d 65 4f 66 20 28 61 |..msg (n|ameOf (a|
|00004130| 64 72 53 63 72 69 70 74 | 5e 29 29 0d 09 09 09 09 |drScript|^)).....|
|00004140| 09 09 6f 70 2e 66 69 72 | 73 74 53 75 6d 6d 69 74 |..op.fir|stSummit|
|00004150| 20 28 29 0d 09 09 09 09 | 09 09 68 64 72 20 3d 20 | ().....|..hdr = |
|00004160| 6f 70 2e 67 65 74 4c 69 | 6e 65 54 65 78 74 20 28 |op.getLi|neText (|
|00004170| 29 20 2d 20 22 61 70 70 | 49 44 22 0d 09 09 09 09 |) - "app|ID".....|
|00004180| 09 09 68 64 72 20 3d 20 | 68 64 72 20 2d 20 22 2c |..hdr = |hdr - ",|
|00004190| 20 22 0d 09 09 09 09 09 | 09 72 74 6e 20 3d 20 73 | "......|.rtn = s|
|000041a0| 74 72 69 6e 67 2e 63 6f | 6d 6d 65 6e 74 44 65 6c |tring.co|mmentDel|
|000041b0| 65 74 65 20 28 68 64 72 | 20 2d 20 28 22 6f 6e 20 |ete (hdr| - ("on |
|000041c0| 22 20 2b 20 76 65 72 62 | 20 2b 20 22 20 28 22 29 |" + verb| + " (")|
|000041d0| 29 0d 09 09 09 09 09 09 | 72 74 6e 20 3d 20 73 74 |).......|rtn = st|
|000041e0| 72 69 6e 67 2e 70 6f 70 | 54 72 61 69 6c 69 6e 67 |ring.pop|Trailing|
|000041f0| 20 28 72 74 6e 2c 20 27 | 20 27 29 0d 09 09 09 09 | (rtn, '| ').....|
|00004200| 09 09 69 66 20 73 74 72 | 69 6e 67 2e 6c 65 6e 67 |..if str|ing.leng|
|00004210| 74 68 20 28 72 74 6e 29 | 20 3e 20 31 20 c7 68 61 |th (rtn)| > 1 .ha|
|00004220| 73 20 61 74 20 6c 65 61 | 73 74 20 6f 6e 65 20 70 |s at lea|st one p|
|00004230| 61 72 61 6d 0d 09 09 09 | 09 09 09 09 72 74 6e 20 |aram....|....rtn |
|00004240| 3d 20 22 2c 20 22 20 2b | 20 72 74 6e 0d 09 09 09 |= ", " +| rtn....|
|00004250| 09 09 09 72 74 6e 20 3d | 20 73 75 69 74 65 4e 61 |...rtn =| suiteNa|
|00004260| 6d 65 20 2b 20 27 2e 27 | 20 2b 20 76 65 72 62 20 |me + '.'| + verb |
|00004270| 2b 20 22 20 28 22 20 2b | 20 61 70 70 4e 61 6d 65 |+ " (" +| appName|
|00004280| 20 2b 20 22 2e 69 64 22 | 20 2b 20 72 74 6e 0d 09 | + ".id"| + rtn..|
|00004290| 09 09 09 09 09 72 74 6e | 20 3d 20 22 72 65 74 75 |.....rtn| = "retu|
|000042a0| 72 6e 20 28 22 20 2b 20 | 72 74 6e 20 2b 20 27 29 |rn (" + |rtn + ')|
|000042b0| 27 0d 09 09 09 09 09 09 | 72 65 74 75 72 6e 20 28 |'.......|return (|
|000042c0| 6d 61 6b 65 53 63 72 69 | 70 74 20 28 68 64 72 2c |makeScri|pt (hdr,|
|000042d0| 20 72 74 6e 2c 20 61 64 | 72 29 29 0d 09 09 09 09 | rtn, ad|r)).....|
|000042e0| 09 69 66 20 6d 61 70 53 | 75 69 74 65 20 28 73 75 |.if mapS|uite (su|
|000042f0| 69 74 65 43 6f 64 65 2c | 20 40 61 64 72 53 75 69 |iteCode,| @adrSui|
|00004300| 74 65 29 0d 09 09 09 09 | 09 09 66 6f 72 20 69 20 |te).....|..for i |
|00004310| 3d 20 31 20 74 6f 20 73 | 69 7a 65 4f 66 20 28 61 |= 1 to s|izeOf (a|
|00004320| 64 72 53 75 69 74 65 5e | 29 0d 09 09 09 09 09 09 |drSuite^|).......|
|00004330| 09 6d 61 70 45 76 65 6e | 74 20 28 40 61 64 72 53 |.mapEven|t (@adrS|
|00004340| 75 69 74 65 5e 20 5b 69 | 5d 2c 20 61 64 72 54 61 |uite^ [i|], adrTa|
|00004350| 62 6c 65 29 0d 09 09 09 | 09 65 6c 73 65 0d 09 09 |ble)....|.else...|
|00004360| 09 09 09 66 6f 72 20 69 | 78 65 76 65 6e 74 20 3d |...for i|xevent =|
|00004370| 20 31 20 74 6f 20 63 74 | 65 76 65 6e 74 73 0d 09 | 1 to ct|events..|
|00004380| 09 09 09 09 09 6c 6f 63 | 61 6c 20 28 6e 61 6d 65 |.....loc|al (name|
|00004390| 2c 20 63 6f 6d 6d 65 6e | 74 2c 20 63 6c 61 73 73 |, commen|t, class|
|000043a0| 2c 20 70 61 72 61 6d 74 | 79 70 65 2c 20 69 64 2c |, paramt|ype, id,|
|000043b0| 20 68 64 72 2c 20 72 74 | 6e 2c 20 61 64 72 29 0d | hdr, rt|n, adr).|
|000043c0| 09 09 09 09 09 09 6f 6e | 20 67 75 65 73 73 4e 61 |......on| guessNa|
|000043d0| 6d 65 20 28 74 79 70 65 | 29 0d 09 09 09 09 09 09 |me (type|).......|
|000043e0| 09 62 61 73 65 64 20 6f | 6e 20 74 68 65 20 64 69 |.based o|n the di|
|000043f0| 72 65 63 74 20 70 61 72 | 61 6d 65 74 65 72 27 73 |rect par|ameter's|
|00004400| 20 74 79 70 65 2c 20 63 | 6f 6d 65 20 75 70 20 77 | type, c|ome up w|
|00004410| 69 74 68 20 61 20 6e 61 | 6d 65 20 66 6f 72 20 69 |ith a na|me for i|
|00004420| 74 0d 09 09 09 09 09 09 | 09 63 61 73 65 20 74 79 |t.......|.case ty|
|00004430| 70 65 0d 09 09 09 09 09 | 09 09 09 6f 62 6a 73 70 |pe......|...objsp|
|00004440| 65 63 54 79 70 65 0d 09 | 09 09 09 09 09 09 09 09 |ecType..|........|
|00004450| 72 65 74 75 72 6e 20 28 | 22 6f 62 6a 22 29 0d 09 |return (|"obj")..|
|00004460| 09 09 09 09 09 09 09 73 | 74 72 69 6e 67 54 79 70 |.......s|tringTyp|
|00004470| 65 0d 09 09 09 09 09 09 | 09 09 09 72 65 74 75 72 |e.......|...retur|
|00004480| 6e 20 28 22 73 22 29 0d | 09 09 09 09 09 09 09 09 |n ("s").|........|
|00004490| 69 6e 74 54 79 70 65 0d | 09 09 09 09 09 09 09 09 |intType.|........|
|000044a0| 6c 6f 6e 67 54 79 70 65 | 0d 09 09 09 09 09 09 09 |longType|........|
|000044b0| 09 09 72 65 74 75 72 6e | 20 28 22 6e 22 29 0d 09 |..return| ("n")..|
|000044c0| 09 09 09 09 09 09 09 62 | 6f 6f 6c 65 61 6e 54 79 |.......b|ooleanTy|
|000044d0| 70 65 0d 09 09 09 09 09 | 09 09 09 09 72 65 74 75 |pe......|....retu|
|000044e0| 72 6e 20 28 22 66 6c 61 | 67 22 29 0d 09 09 09 09 |rn ("fla|g").....|
|000044f0| 09 09 09 09 61 6c 69 61 | 73 54 79 70 65 0d 09 09 |....alia|sType...|
|00004500| 09 09 09 09 09 09 66 69 | 6c 65 73 70 65 63 54 79 |......fi|lespecTy|
|00004510| 70 65 0d 09 09 09 09 09 | 09 09 09 09 72 65 74 75 |pe......|....retu|
|00004520| 72 6e 20 28 22 66 69 6c | 65 22 29 0d 09 09 09 09 |rn ("fil|e").....|
|00004530| 09 09 09 65 6c 73 65 0d | 09 09 09 09 09 09 09 09 |...else.|........|
|00004540| 72 65 74 75 72 6e 20 28 | 22 78 22 29 0d 09 09 09 |return (|"x")....|
|00004550| 09 09 09 6f 6e 20 70 61 | 72 73 65 50 61 72 61 6d |...on pa|rseParam|
|00004560| 73 20 28 29 0d 09 09 09 | 09 09 09 09 6c 6f 63 61 |s ()....|....loca|
|00004570| 6c 20 28 69 78 70 61 72 | 61 6d 29 0d 09 09 09 09 |l (ixpar|am).....|
|00004580| 09 09 09 66 6f 72 20 69 | 78 70 61 72 61 6d 20 3d |...for i|xparam =|
|00004590| 20 31 20 74 6f 20 67 65 | 74 73 68 6f 72 74 20 28 | 1 to ge|tshort (|
|000045a0| 29 0d 09 09 09 09 09 09 | 09 09 6e 61 6d 65 20 3d |).......|..name =|
|000045b0| 20 67 65 74 6e 61 6d 65 | 20 28 29 0d 09 09 09 09 | getname| ().....|
|000045c0| 09 09 09 09 61 6c 69 67 | 6e 20 28 29 0d 09 09 09 |....alig|n ()....|
|000045d0| 09 09 09 09 09 69 64 20 | 3d 20 67 65 74 73 74 72 |.....id |= getstr|
|000045e0| 69 6e 67 34 20 28 29 0d | 09 09 09 09 09 09 09 09 |ing4 ().|........|
|000045f0| 73 6b 69 70 62 79 74 65 | 73 20 28 34 29 20 c7 70 |skipbyte|s (4) .p|
|00004600| 61 72 61 6d 20 74 79 70 | 65 0d 09 09 09 09 09 09 |aram typ|e.......|
|00004610| 09 09 73 6b 69 70 73 74 | 72 69 6e 67 20 28 29 0d |..skipst|ring ().|
|00004620| 09 09 09 09 09 09 09 09 | 61 6c 69 67 6e 20 28 29 |........|align ()|
|00004630| 0d 09 09 09 09 09 09 09 | 09 73 6b 69 70 62 79 74 |........|.skipbyt|
|00004640| 65 73 20 28 32 29 20 c7 | 70 61 72 61 6d 20 66 6c |es (2) .|param fl|
|00004650| 61 67 73 0d 09 09 09 09 | 09 09 09 09 68 64 72 20 |ags.....|....hdr |
|00004660| 3d 20 68 64 72 20 2b 20 | 22 2c 20 22 20 2b 20 6e |= hdr + |", " + n|
|00004670| 61 6d 65 0d 09 09 09 09 | 09 09 09 09 72 74 6e 20 |ame.....|....rtn |
|00004680| 3d 20 72 74 6e 20 2b 20 | 22 2c 20 27 22 20 2b 20 |= rtn + |", '" + |
|00004690| 69 64 20 2b 20 22 27 2c | 20 22 20 2b 20 6e 61 6d |id + "',| " + nam|
|000046a0| 65 0d 09 09 09 09 09 09 | 6e 61 6d 65 20 3d 20 67 |e.......|name = g|
|000046b0| 65 74 6e 61 6d 65 20 28 | 29 0d 09 09 09 09 09 09 |etname (|).......|
|000046c0| 63 6f 6d 6d 65 6e 74 20 | 3d 20 67 65 74 73 74 72 |comment |= getstr|
|000046d0| 69 6e 67 20 28 29 0d 09 | 09 09 09 09 09 61 6c 69 |ing ()..|.....ali|
|000046e0| 67 6e 20 28 29 0d 09 09 | 09 09 09 09 63 6c 61 73 |gn ()...|....clas|
|000046f0| 73 20 3d 20 67 65 74 73 | 74 72 69 6e 67 34 20 28 |s = gets|tring4 (|
|00004700| 29 0d 09 09 09 09 09 09 | 69 64 20 3d 20 67 65 74 |).......|id = get|
|00004710| 73 74 72 69 6e 67 34 20 | 28 29 0d 09 09 09 09 09 |string4 |()......|
|00004720| 09 61 64 72 20 3d 20 40 | 61 64 72 54 61 62 6c 65 |.adr = @|adrTable|
|00004730| 5e 2e 5b 6e 61 6d 65 5d | 0d 09 09 09 09 09 09 68 |^.[name]|.......h|
|00004740| 64 72 20 3d 20 22 6f 6e | 20 22 20 2b 20 6e 61 6d |dr = "on| " + nam|
|00004750| 65 20 2b 20 22 20 28 22 | 0d 09 09 09 09 09 09 72 |e + " ("|.......r|
|00004760| 74 6e 20 3d 20 22 72 65 | 74 75 72 6e 20 28 61 70 |tn = "re|turn (ap|
|00004770| 70 6c 65 45 76 65 6e 74 | 20 28 22 20 2b 20 6e 61 |pleEvent| (" + na|
|00004780| 6d 65 4f 66 20 28 61 64 | 72 54 61 62 6c 65 5e 29 |meOf (ad|rTable^)|
|00004790| 20 2b 20 22 2e 69 64 2c | 20 27 22 20 2b 20 63 6c | + ".id,| '" + cl|
|000047a0| 61 73 73 20 2b 20 22 27 | 2c 20 27 22 20 2b 20 69 |ass + "'|, '" + i|
|000047b0| 64 20 2b 20 22 27 22 0d | 09 09 09 09 09 09 73 6b |d + "'".|......sk|
|000047c0| 69 70 62 79 74 65 73 20 | 28 34 29 20 c7 72 65 70 |ipbytes |(4) .rep|
|000047d0| 6c 79 20 74 79 70 65 0d | 09 09 09 09 09 09 73 6b |ly type.|......sk|
|000047e0| 69 70 73 74 72 69 6e 67 | 20 28 29 20 c7 72 65 70 |ipstring| () .rep|
|000047f0| 6c 79 20 64 65 73 63 72 | 69 70 74 69 6f 6e 0d 09 |ly descr|iption..|
|00004800| 09 09 09 09 09 61 6c 69 | 67 6e 20 28 29 0d 09 09 |.....ali|gn ()...|
|00004810| 09 09 09 09 73 6b 69 70 | 62 79 74 65 73 20 28 32 |....skip|bytes (2|
|00004820| 29 20 c7 66 6c 61 67 73 | 0d 09 09 09 09 09 09 70 |) .flags|.......p|
|00004830| 61 72 61 6d 74 79 70 65 | 20 3d 20 67 65 74 73 74 |aramtype| = getst|
|00004840| 72 69 6e 67 34 20 28 29 | 20 c7 64 69 72 65 63 74 |ring4 ()| .direct|
|00004850| 20 70 61 72 61 6d 20 74 | 79 70 65 0d 09 09 09 09 | param t|ype.....|
|00004860| 09 09 73 6b 69 70 73 74 | 72 69 6e 67 20 28 29 20 |..skipst|ring () |
|00004870| c7 72 65 70 6c 79 20 64 | 65 73 63 72 69 70 74 69 |.reply d|escripti|
|00004880| 6f 6e 0d 09 09 09 09 09 | 09 61 6c 69 67 6e 20 28 |on......|.align (|
|00004890| 29 0d 09 09 09 09 09 09 | 73 6b 69 70 62 79 74 65 |).......|skipbyte|
|000048a0| 73 20 28 32 29 20 c7 72 | 65 70 6c 79 20 66 6c 61 |s (2) .r|eply fla|
|000048b0| 67 73 0d 09 09 09 09 09 | 09 69 66 20 70 61 72 61 |gs......|.if para|
|000048c0| 6d 74 79 70 65 20 21 3d | 20 27 6e 75 6c 6c 27 20 |mtype !=| 'null' |
|000048d0| c7 68 61 73 20 61 20 64 | 69 72 65 63 74 20 70 61 |.has a d|irect pa|
|000048e0| 72 61 6d 0d 09 09 09 09 | 09 09 09 6c 6f 63 61 6c |ram.....|...local|
|000048f0| 20 28 70 61 72 61 6d 6e | 61 6d 65 20 3d 20 67 75 | (paramn|ame = gu|
|00004900| 65 73 73 6e 61 6d 65 20 | 28 70 61 72 61 6d 74 79 |essname |(paramty|
|00004910| 70 65 29 29 0d 09 09 09 | 09 09 09 09 68 64 72 20 |pe))....|....hdr |
|00004920| 3d 20 68 64 72 20 2b 20 | 70 61 72 61 6d 6e 61 6d |= hdr + |paramnam|
|00004930| 65 0d 09 09 09 09 09 09 | 09 72 74 6e 20 3d 20 72 |e.......|.rtn = r|
|00004940| 74 6e 20 2b 20 22 2c 20 | 27 2d 2d 2d 2d 27 2c 20 |tn + ", |'----', |
|00004950| 22 20 2b 20 70 61 72 61 | 6d 6e 61 6d 65 0d 09 09 |" + para|mname...|
|00004960| 09 09 09 09 70 61 72 73 | 65 50 61 72 61 6d 73 20 |....pars|eParams |
|00004970| 28 29 0d 09 09 09 09 09 | 09 68 64 72 20 3d 20 68 |()......|.hdr = h|
|00004980| 64 72 20 2b 20 22 29 20 | c7 22 20 2b 20 63 6f 6d |dr + ") |." + com|
|00004990| 6d 65 6e 74 0d 09 09 09 | 09 09 09 72 74 6e 20 3d |ment....|...rtn =|
|000049a0| 20 72 74 6e 20 2b 20 22 | 29 29 22 0d 09 09 09 09 | rtn + "|))".....|
|000049b0| 09 09 6d 61 6b 65 53 63 | 72 69 70 74 20 28 68 64 |..makeSc|ript (hd|
|000049c0| 72 2c 20 72 74 6e 2c 20 | 61 64 72 29 0d 09 09 09 |r, rtn, |adr)....|
|000049d0| 6f 6e 20 70 61 72 73 65 | 43 6c 61 73 73 65 73 20 |on parse|Classes |
|000049e0| 28 29 0d 09 09 09 09 6c | 6f 63 61 6c 20 28 69 78 |().....l|ocal (ix|
|000049f0| 63 6c 61 73 73 29 0d 09 | 09 09 09 6f 6e 20 70 61 |class)..|...on pa|
|00004a00| 72 73 65 50 72 6f 70 65 | 72 74 69 65 73 20 28 29 |rsePrope|rties ()|
|00004a10| 0d 09 09 09 09 09 6c 6f | 63 61 6c 20 28 69 78 70 |......lo|cal (ixp|
|00004a20| 72 6f 70 65 72 74 79 29 | 0d 09 09 09 09 09 66 6f |roperty)|......fo|
|00004a30| 72 20 69 78 70 72 6f 70 | 65 72 74 79 20 3d 20 31 |r ixprop|erty = 1|
|00004a40| 20 74 6f 20 67 65 74 73 | 68 6f 72 74 20 28 29 0d | to gets|hort ().|
|00004a50| 09 09 09 09 09 09 6e 61 | 6d 65 20 3d 20 67 65 74 |......na|me = get|
|00004a60| 6e 61 6d 65 20 28 29 0d | 09 09 09 09 09 09 61 6c |name ().|......al|
|00004a70| 69 67 6e 20 28 29 0d 09 | 09 09 09 09 09 76 61 6c |ign ()..|.....val|
|00004a80| 75 65 20 3d 20 67 65 74 | 73 74 72 69 6e 67 34 20 |ue = get|string4 |
|00004a90| 28 29 0d 09 09 09 09 09 | 09 61 64 72 54 61 62 6c |()......|.adrTabl|
|00004aa0| 65 5e 2e 5b 6e 61 6d 65 | 5d 20 3d 20 76 61 6c 75 |e^.[name|] = valu|
|00004ab0| 65 0d 09 09 09 09 09 09 | 73 6b 69 70 62 79 74 65 |e.......|skipbyte|
|00004ac0| 73 20 28 34 29 20 c7 70 | 72 6f 70 65 72 74 79 20 |s (4) .p|roperty |
|00004ad0| 63 6c 61 73 73 0d 09 09 | 09 09 09 09 73 6b 69 70 |class...|....skip|
|00004ae0| 73 74 72 69 6e 67 20 28 | 29 20 c7 69 67 6e 6f 72 |string (|) .ignor|
|00004af0| 65 20 65 76 65 72 79 74 | 68 69 6e 67 20 65 6c 73 |e everyt|hing els|
|00004b00| 65 0d 09 09 09 09 09 09 | 61 6c 69 67 6e 20 28 29 |e.......|align ()|
|00004b10| 0d 09 09 09 09 09 09 73 | 6b 69 70 62 79 74 65 73 |.......s|kipbytes|
|00004b20| 20 28 32 29 0d 09 09 09 | 09 6f 6e 20 70 61 72 73 | (2)....|.on pars|
|00004b30| 65 45 6c 65 6d 65 6e 74 | 73 20 28 29 0d 09 09 09 |eElement|s ()....|
|00004b40| 09 09 6c 6f 63 61 6c 20 | 28 69 78 65 6c 65 6d 65 |..local |(ixeleme|
|00004b50| 6e 74 2c 20 69 78 6b 65 | 79 66 6f 72 6d 29 0d 09 |nt, ixke|yform)..|
|00004b60| 09 09 09 09 66 6f 72 20 | 69 78 65 6c 65 6d 65 6e |....for |ixelemen|
|00004b70| 74 20 3d 20 31 20 74 6f | 20 67 65 74 73 68 6f 72 |t = 1 to| getshor|
|00004b80| 74 20 28 29 0d 09 09 09 | 09 09 09 73 6b 69 70 62 |t ()....|...skipb|
|00004b90| 79 74 65 73 20 28 34 29 | 20 c7 65 6c 65 6d 65 6e |ytes (4)| .elemen|
|00004ba0| 74 20 63 6c 61 73 73 0d | 09 09 09 09 09 09 66 6f |t class.|......fo|
|00004bb0| 72 20 69 78 6b 65 79 66 | 6f 72 6d 20 3d 20 31 20 |r ixkeyf|orm = 1 |
|00004bc0| 74 6f 20 67 65 74 73 68 | 6f 72 74 20 28 29 0d 09 |to getsh|ort ()..|
|00004bd0| 09 09 09 09 09 09 73 6b | 69 70 62 79 74 65 73 20 |......sk|ipbytes |
|00004be0| 28 34 29 20 c7 69 67 6e | 6f 72 65 20 69 74 0d 09 |(4) .ign|ore it..|
|00004bf0| 09 09 09 66 6f 72 20 69 | 78 63 6c 61 73 73 20 3d |...for i|xclass =|
|00004c00| 20 31 20 74 6f 20 67 65 | 74 73 68 6f 72 74 20 28 | 1 to ge|tshort (|
|00004c10| 29 0d 09 09 09 09 09 6e | 61 6d 65 20 3d 20 67 65 |)......n|ame = ge|
|00004c20| 74 6e 61 6d 65 20 28 29 | 0d 09 09 09 09 09 61 6c |tname ()|......al|
|00004c30| 69 67 6e 20 28 29 0d 09 | 09 09 09 09 76 61 6c 75 |ign ()..|....valu|
|00004c40| 65 20 3d 20 67 65 74 73 | 74 72 69 6e 67 34 20 28 |e = gets|tring4 (|
|00004c50| 29 0d 09 09 09 09 09 61 | 64 72 54 61 62 6c 65 5e |)......a|drTable^|
|00004c60| 2e 5b 6e 61 6d 65 5d 20 | 3d 20 76 61 6c 75 65 0d |.[name] |= value.|
|00004c70| 09 09 09 09 09 73 6b 69 | 70 73 74 72 69 6e 67 20 |.....ski|pstring |
|00004c80| 28 29 20 c7 74 68 65 20 | 63 6c 61 73 73 20 64 65 |() .the |class de|
|00004c90| 73 63 72 69 70 74 69 6f | 6e 0d 09 09 09 09 09 61 |scriptio|n......a|
|00004ca0| 6c 69 67 6e 20 28 29 0d | 09 09 09 09 09 70 61 72 |lign ().|.....par|
|00004cb0| 73 65 50 72 6f 70 65 72 | 74 69 65 73 20 28 29 0d |seProper|ties ().|
|00004cc0| 09 09 09 09 09 70 61 72 | 73 65 45 6c 65 6d 65 6e |.....par|seElemen|
|00004cd0| 74 73 20 28 29 0d 09 09 | 09 6f 6e 20 70 61 72 73 |ts ()...|.on pars|
|00004ce0| 65 43 6f 6d 70 61 72 69 | 73 6f 6e 4f 70 73 20 28 |eCompari|sonOps (|
|00004cf0| 29 0d 09 09 09 09 6c 6f | 63 61 6c 20 28 69 78 63 |).....lo|cal (ixc|
|00004d00| 6f 6d 70 61 72 69 73 6f | 6e 29 0d 09 09 09 09 66 |ompariso|n).....f|
|00004d10| 6f 72 20 69 78 63 6f 6d | 70 61 72 69 73 6f 6e 20 |or ixcom|parison |
|00004d20| 3d 20 31 20 74 6f 20 67 | 65 74 73 68 6f 72 74 20 |= 1 to g|etshort |
|00004d30| 28 29 0d 09 09 09 09 09 | 73 6b 69 70 73 74 72 69 |()......|skipstri|
|00004d40| 6e 67 20 28 29 0d 09 09 | 09 09 09 61 6c 69 67 6e |ng ()...|...align|
|00004d50| 20 28 29 0d 09 09 09 09 | 09 73 6b 69 70 62 79 74 | ().....|.skipbyt|
|00004d60| 65 73 20 28 34 29 0d 09 | 09 09 09 09 73 6b 69 70 |es (4)..|....skip|
|00004d70| 73 74 72 69 6e 67 20 28 | 29 0d 09 09 09 09 09 61 |string (|)......a|
|00004d80| 6c 69 67 6e 20 28 29 0d | 09 09 09 6f 6e 20 70 61 |lign ().|...on pa|
|00004d90| 72 73 65 45 6e 75 6d 65 | 72 61 74 69 6f 6e 73 20 |rseEnume|rations |
|00004da0| 28 29 0d 09 09 09 09 6c | 6f 63 61 6c 20 28 69 78 |().....l|ocal (ix|
|00004db0| 45 6e 75 6d 65 72 61 74 | 69 6f 6e 29 0d 09 09 09 |Enumerat|ion)....|
|00004dc0| 09 6f 6e 20 70 61 72 73 | 65 45 6e 75 6d 65 72 61 |.on pars|eEnumera|
|00004dd0| 74 6f 72 73 20 28 29 0d | 09 09 09 09 09 6c 6f 63 |tors ().|.....loc|
|00004de0| 61 6c 20 28 69 78 65 6e | 75 6d 65 72 61 74 6f 72 |al (ixen|umerator|
|00004df0| 29 0d 09 09 09 09 09 66 | 6f 72 20 69 78 45 6e 75 |)......f|or ixEnu|
|00004e00| 6d 65 72 61 74 6f 72 20 | 3d 20 31 20 74 6f 20 67 |merator |= 1 to g|
|00004e10| 65 74 73 68 6f 72 74 20 | 28 29 0d 09 09 09 09 09 |etshort |()......|
|00004e20| 09 6c 6f 63 61 6c 20 28 | 6e 61 6d 65 2c 20 76 61 |.local (|name, va|
|00004e30| 6c 75 65 2c 20 61 64 72 | 29 0d 09 09 09 09 09 09 |lue, adr|).......|
|00004e40| 6e 61 6d 65 20 3d 20 67 | 65 74 6e 61 6d 65 20 28 |name = g|etname (|
|00004e50| 29 0d 09 09 09 09 09 09 | 61 6c 69 67 6e 20 28 29 |).......|align ()|
|00004e60| 0d 09 09 09 09 09 09 76 | 61 6c 75 65 20 3d 20 65 |.......v|alue = e|
|00004e70| 6e 75 6d 20 28 67 65 74 | 73 74 72 69 6e 67 34 20 |num (get|string4 |
|00004e80| 28 29 29 0d 09 09 09 09 | 09 09 61 64 72 20 3d 20 |()).....|..adr = |
|00004e90| 40 61 64 72 54 61 62 6c | 65 5e 2e 5b 6e 61 6d 65 |@adrTabl|e^.[name|
|00004ea0| 5d 0d 09 09 09 09 09 09 | 69 66 20 64 65 66 69 6e |].......|if defin|
|00004eb0| 65 64 20 28 61 64 72 5e | 29 20 c7 6e 61 6d 65 20 |ed (adr^|) .name |
|00004ec0| 61 6c 72 65 61 64 79 20 | 75 73 65 64 0d 09 09 09 |already |used....|
|00004ed0| 09 09 09 09 69 66 20 28 | 74 79 70 65 4f 66 20 28 |....if (|typeOf (|
|00004ee0| 61 64 72 5e 29 20 21 3d | 20 62 69 6e 61 72 79 54 |adr^) !=| binaryT|
|00004ef0| 79 70 65 29 20 6f 72 20 | 28 61 64 72 5e 20 21 3d |ype) or |(adr^ !=|
|00004f00| 20 76 61 6c 75 65 29 20 | c7 6e 6f 74 20 61 20 64 | value) |.not a d|
|00004f10| 75 70 6c 69 63 61 74 65 | 2c 20 75 73 65 20 75 6e |uplicate|, use un|
|00004f20| 69 71 75 65 20 6e 61 6d | 65 0d 09 09 09 09 09 09 |ique nam|e.......|
|00004f30| 09 09 74 61 62 6c 65 2e | 61 73 73 69 67 6e 20 28 |..table.|assign (|
|00004f40| 74 61 62 6c 65 2e 75 6e | 69 71 75 65 4e 61 6d 65 |table.un|iqueName|
|00004f50| 20 28 6e 61 6d 65 2c 20 | 61 64 72 54 61 62 6c 65 | (name, |adrTable|
|00004f60| 29 2c 20 76 61 6c 75 65 | 29 0d 09 09 09 09 09 09 |), value|).......|
|00004f70| 65 6c 73 65 0d 09 09 09 | 09 09 09 09 61 64 72 5e |else....|....adr^|
|00004f80| 20 3d 20 76 61 6c 75 65 | 0d 09 09 09 09 09 09 73 | = value|.......s|
|00004f90| 6b 69 70 73 74 72 69 6e | 67 20 28 29 0d 09 09 09 |kipstrin|g ()....|
|00004fa0| 09 09 09 61 6c 69 67 6e | 20 28 29 0d 09 09 09 09 |...align| ().....|
|00004fb0| 66 6f 72 20 69 78 45 6e | 75 6d 65 72 61 74 69 6f |for ixEn|umeratio|
|00004fc0| 6e 20 3d 20 31 20 74 6f | 20 67 65 74 73 68 6f 72 |n = 1 to| getshor|
|00004fd0| 74 20 28 29 0d 09 09 09 | 09 09 73 6b 69 70 62 79 |t ()....|..skipby|
|00004fe0| 74 65 73 20 28 34 29 0d | 09 09 09 09 09 70 61 72 |tes (4).|.....par|
|00004ff0| 73 65 45 6e 75 6d 65 72 | 61 74 6f 72 73 20 28 29 |seEnumer|ators ()|
|00005000| 0d 09 09 09 66 6f 72 20 | 69 78 73 75 69 74 65 20 |....for |ixsuite |
|00005010| 3d 20 31 20 74 6f 20 67 | 65 74 73 68 6f 72 74 20 |= 1 to g|etshort |
|00005020| 28 29 0d 09 09 09 09 67 | 65 74 73 74 72 69 6e 67 |().....g|etstring|
|00005030| 20 28 29 20 c7 6e 61 6d | 65 20 6f 66 20 74 68 65 | () .nam|e of the|
|00005040| 20 73 75 69 74 65 0d 09 | 09 09 09 73 6b 69 70 73 | suite..|...skips|
|00005050| 74 72 69 6e 67 20 28 29 | 20 c7 64 65 73 63 72 69 |tring ()| .descri|
|00005060| 70 74 69 6f 6e 0d 09 09 | 09 09 61 6c 69 67 6e 20 |ption...|..align |
|00005070| 28 29 0d 09 09 09 09 73 | 75 69 74 65 43 6f 64 65 |().....s|uiteCode|
|00005080| 20 3d 20 67 65 74 73 74 | 72 69 6e 67 34 20 28 29 | = getst|ring4 ()|
|00005090| 0d 09 09 09 09 73 6b 69 | 70 62 79 74 65 73 20 28 |.....ski|pbytes (|
|000050a0| 34 29 20 c7 73 6b 69 70 | 20 75 70 20 74 6f 20 65 |4) .skip| up to e|
|000050b0| 76 65 6e 74 20 61 72 72 | 61 79 0d 09 09 09 09 70 |vent arr|ay.....p|
|000050c0| 61 72 73 65 45 76 65 6e | 74 73 20 28 29 0d 09 09 |arseEven|ts ()...|
|000050d0| 09 09 70 61 72 73 65 43 | 6c 61 73 73 65 73 20 28 |..parseC|lasses (|
|000050e0| 29 0d 09 09 09 09 70 61 | 72 73 65 43 6f 6d 70 61 |).....pa|rseCompa|
|000050f0| 72 69 73 6f 6e 4f 70 73 | 20 28 29 0d 09 09 09 09 |risonOps| ().....|
|00005100| 70 61 72 73 65 45 6e 75 | 6d 65 72 61 74 69 6f 6e |parseEnu|meration|
|00005110| 73 20 28 29 0d 09 09 62 | 75 6e 64 6c 65 20 c7 6d |s ()...b|undle .m|
|00005120| 61 6b 65 20 73 75 72 65 | 20 74 68 65 20 74 61 62 |ake sure| the tab|
|00005130| 6c 65 20 65 78 69 73 74 | 73 0d 09 09 09 69 66 20 |le exist|s....if |
|00005140| 6e 6f 74 20 64 65 66 69 | 6e 65 64 20 28 61 64 72 |not defi|ned (adr|
|00005150| 54 61 62 6c 65 5e 29 0d | 09 09 09 09 6e 65 77 20 |Table^).|....new |
|00005160| 28 74 61 62 6c 65 54 79 | 70 65 2c 20 61 64 72 54 |(tableTy|pe, adrT|
|00005170| 61 62 6c 65 29 0d 09 09 | 62 75 6e 64 6c 65 20 c7 |able)...|bundle .|
|00005180| 70 61 72 73 65 20 74 68 | 65 20 72 65 73 6f 75 72 |parse th|e resour|
|00005190| 63 65 0d 09 09 09 6c 6f | 63 61 6c 20 28 6e 61 6d |ce....lo|cal (nam|
|000051a0| 65 29 0d 09 09 09 69 66 | 20 21 72 65 7a 2e 67 65 |e)....if| !rez.ge|
|000051b0| 74 4e 74 68 52 65 73 6f | 75 72 63 65 20 28 61 70 |tNthReso|urce (ap|
|000051c0| 70 50 61 74 68 2c 20 27 | 61 65 74 65 27 2c 20 31 |pPath, '|aete', 1|
|000051d0| 2c 20 40 6e 61 6d 65 2c | 20 40 61 65 74 65 29 0d |, @name,| @aete).|
|000051e0| 09 09 09 09 73 63 72 69 | 70 74 45 72 72 6f 72 20 |....scri|ptError |
|000051f0| 28 22 43 6f 75 6c 64 6e | 27 74 20 66 69 6e 64 20 |("Couldn|'t find |
|00005200| 74 68 65 20 72 65 73 6f | 75 72 63 65 2e 22 29 0d |the reso|urce.").|
|00005210| 09 09 09 73 6b 69 70 62 | 79 74 65 73 20 28 36 29 |...skipb|ytes (6)|
|00005220| 20 c7 73 6b 69 70 20 75 | 70 20 74 6f 20 73 75 69 | .skip u|p to sui|
|00005230| 74 65 20 61 72 72 61 79 | 0d 09 09 09 70 61 72 73 |te array|....pars|
|00005240| 65 53 75 69 74 65 73 20 | 28 29 0d 09 09 09 6d 73 |eSuites |()....ms|
|00005250| 67 20 28 22 22 29 0d 09 | 09 77 69 6e 64 6f 77 2e |g ("")..|.window.|
|00005260| 6f 70 65 6e 20 28 61 64 | 72 54 61 62 6c 65 29 0d |open (ad|rTable).|
|00005270| 09 09 72 65 74 75 72 6e | 20 28 74 72 75 65 29 0d |..return| (true).|
|00005280| 09 72 65 74 75 72 6e 20 | 28 70 61 72 73 65 41 65 |.return |(parseAe|
|00005290| 74 65 20 28 5b 63 6f 6d | 6d 65 72 63 69 61 6c 2e |te ([com|mercial.|
|000052a0| 61 70 70 6e 61 6d 65 5d | 2e 61 70 70 49 6e 66 6f |appname]|.appInfo|
|000052b0| 2e 70 61 74 68 2c 20 40 | 5b 63 6f 6d 6d 65 72 63 |.path, @|[commerc|
|000052c0| 69 61 6c 2e 61 70 70 6e | 61 6d 65 5d 29 29 0d 80 |ial.appn|ame]))..|
|000052d0| 00 00 00 00 00 80 00 00 | 00 00 00 84 00 00 00 00 |........|........|
|000052e0| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000052f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 80 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005390| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053a0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 80 |........|........|
|000053c0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 04 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056e0| 00 00 00 80 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005710| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005810| 00 00 00 00 00 0b 69 6d | 70 6f 72 74 53 75 69 74 |......im|portSuit|
|00005820| 65 00 00 00 d7 00 01 04 | b8 00 02 00 00 00 0c 00 |e.......|........|
|00005830| 00 00 4f 00 00 02 00 00 | 0f 06 47 65 6e 65 76 61 |..O.....|..Geneva|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 06 | 45 00 00 a4 fe 5c 79 a6 |........|E....\y.|
|00005870| f7 1c f9 00 00 00 21 00 | 00 00 96 00 6f 00 fa 01 |......!.|....o...|
|00005880| b7 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058a0| 00 6f 6e 20 69 6d 70 6f | 72 74 53 75 69 74 65 20 |.on impo|rtSuite |
|000058b0| 28 61 64 72 29 0d 09 72 | 65 74 75 72 6e 20 28 6d |(adr)..r|eturn (m|
|000058c0| 65 6e 75 2e 69 6d 70 6f | 72 74 53 75 69 74 65 20 |enu.impo|rtSuite |
|000058d0| 28 61 64 72 2c 20 22 43 | 6f 6d 6d 65 72 63 69 61 |(adr, "C|ommercia|
|000058e0| 6c 20 44 65 76 65 6c 6f | 70 65 72 73 22 29 29 0d |l Develo|pers")).|
|000058f0| 80 00 00 00 00 00 80 00 | 00 00 00 00 0a 69 6e 73 |........|.....ins|
|00005900| 74 61 6c 6c 41 70 70 00 | 00 06 de 00 01 04 b8 00 |tallApp.|........|
|00005910| 02 00 00 00 e4 00 00 05 | 7e 00 00 02 00 00 0f 06 |........|~.......|
|00005920| 47 65 6e 65 76 61 00 00 | 00 00 00 00 00 00 00 00 |Geneva..|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 06 54 00 |........|......T.|
|00005950| 00 a4 28 b5 78 a6 f7 1c | f9 00 00 00 57 00 00 00 |..(.x...|....W...|
|00005960| 26 00 2a 01 b6 01 fc 00 | 00 00 00 00 00 00 00 00 |&.*.....|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 00 00 00 6f | 6e 20 69 6e 73 74 61 6c |.......o|n instal|
|00005990| 6c 41 70 70 20 28 70 61 | 74 68 29 20 c7 63 6f 70 |lApp (pa|th) .cop|
|000059a0| 69 65 73 20 72 65 73 6f | 75 72 63 65 73 20 66 72 |ies reso|urces fr|
|000059b0| 6f 6d 20 61 20 46 72 6f | 6e 74 69 65 72 20 69 6e |om a Fro|ntier in|
|000059c0| 73 74 61 6c 6c 20 66 69 | 6c 65 0d 09 74 68 65 72 |stall fi|le..ther|
|000059d0| 65 20 61 72 65 20 74 77 | 6f 20 72 65 61 73 6f 6e |e are tw|o reason|
|000059e0| 73 20 77 68 79 20 77 65 | 20 6a 75 73 74 20 63 61 |s why we| just ca|
|000059f0| 6c 6c 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 65 72 |ll the i|nstaller|
|00005a00| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 72 65 70 6c | instead| of repl|
|00005a10| 69 63 61 74 69 6e 67 20 | 63 6f 64 65 3a 0d 09 09 |icating |code:...|
|00005a20| 31 2e 20 69 74 20 61 6c | 6c 6f 77 73 20 61 20 75 |1. it al|lows a u|
|00005a30| 73 65 72 20 74 6f 20 63 | 75 73 74 6f 6d 69 7a 65 |ser to c|ustomize|
|00005a40| 20 74 68 65 20 69 6e 73 | 74 61 6c 6c 61 74 69 6f | the ins|tallatio|
|00005a50| 6e 20 70 72 6f 63 65 73 | 73 0d 09 09 09 63 68 61 |n proces|s....cha|
|00005a60| 6e 67 65 20 79 6f 75 72 | 20 63 6f 70 79 20 6f 66 |nge your| copy of|
|00005a70| 20 63 6f 6d 6d 65 72 63 | 69 61 6c 2e 69 6e 73 74 | commerc|ial.inst|
|00005a80| 61 6c 6c 65 72 20 74 6f | 20 63 68 61 6e 67 65 20 |aller to| change |
|00005a90| 74 68 65 20 62 65 68 61 | 76 69 6f 72 0d 09 09 32 |the beha|vior...2|
|00005aa0| 2e 20 69 74 20 73 61 76 | 65 73 20 73 70 61 63 65 |. it sav|es space|
|00005ab0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 66 6f 72 | in the |file for|
|00005ac0| 6d 61 74 0d 09 09 09 65 | 76 65 72 79 20 6c 69 74 |mat....e|very lit|
|00005ad0| 74 6c 65 20 62 69 74 20 | 63 6f 75 6e 74 73 21 0d |tle bit |counts!.|
|00005ae0| 09 6c 6f 63 61 6c 20 28 | 61 70 70 6e 61 6d 65 2c |.local (|appname,|
|00005af0| 20 61 70 70 63 72 65 61 | 74 6f 72 29 0d 09 6c 6f | appcrea|tor)..lo|
|00005b00| 63 61 6c 20 28 72 65 73 | 64 61 74 61 29 0d 09 0d |cal (res|data)...|
|00005b10| 09 46 72 6f 6e 74 69 65 | 72 2e 66 69 6e 64 65 72 |.Frontie|r.finder|
|00005b20| 74 6f 66 72 6f 6e 74 20 | 3d 20 66 61 6c 73 65 0d |tofront |= false.|
|00005b30| 09 0d 09 62 75 6e 64 6c | 65 20 c7 67 65 74 20 61 |...bundl|e .get a|
|00005b40| 70 70 20 6e 61 6d 65 20 | 61 6e 64 20 63 72 65 61 |pp name |and crea|
|00005b50| 74 6f 72 0d 09 09 72 65 | 7a 2e 67 65 74 73 74 72 |tor...re|z.getstr|
|00005b60| 69 6e 67 72 65 73 6f 75 | 72 63 65 20 28 70 61 74 |ingresou|rce (pat|
|00005b70| 68 2c 20 31 34 30 2c 20 | 40 61 70 70 6e 61 6d 65 |h, 140, |@appname|
|00005b80| 29 0d 09 09 72 65 7a 2e | 67 65 74 73 74 72 69 6e |)...rez.|getstrin|
|00005b90| 67 72 65 73 6f 75 72 63 | 65 20 28 70 61 74 68 2c |gresourc|e (path,|
|00005ba0| 20 31 34 31 2c 20 40 61 | 70 70 63 72 65 61 74 6f | 141, @a|ppcreato|
|00005bb0| 72 29 0d 09 0d 09 62 75 | 6e 64 6c 65 20 c7 6c 6f |r)....bu|ndle .lo|
|00005bc0| 61 64 20 74 68 65 20 61 | 70 70 27 73 20 74 61 62 |ad the a|pp's tab|
|00005bd0| 6c 65 0d 09 09 69 66 20 | 72 65 7a 2e 67 65 74 72 |le...if |rez.getr|
|00005be0| 65 73 6f 75 72 63 65 20 | 28 70 61 74 68 2c 20 74 |esource |(path, t|
|00005bf0| 61 62 6c 65 74 79 70 65 | 2c 20 31 32 38 2c 20 40 |abletype|, 128, @|
|00005c00| 72 65 73 64 61 74 61 29 | 0d 09 09 09 6c 6f 63 61 |resdata)|....loca|
|00005c10| 6c 20 28 63 65 6c 6c 6e | 61 6d 65 20 3d 20 40 73 |l (celln|ame = @s|
|00005c20| 79 73 74 65 6d 2e 76 65 | 72 62 73 2e 61 70 70 73 |ystem.ve|rbs.apps|
|00005c30| 2e 5b 61 70 70 6e 61 6d | 65 5d 29 0d 09 09 09 69 |.[appnam|e])....i|
|00005c40| 66 20 6e 6f 74 20 64 69 | 61 6c 6f 67 2e 61 73 6b |f not di|alog.ask|
|00005c50| 20 28 22 4e 61 6d 65 20 | 66 6f 72 20 6e 65 77 20 | ("Name |for new |
|00005c60| 73 63 72 69 70 74 73 20 | 74 61 62 6c 65 3f 22 2c |scripts |table?",|
|00005c70| 20 40 63 65 6c 6c 6e 61 | 6d 65 29 0d 09 09 09 09 | @cellna|me).....|
|00005c80| 72 65 74 75 72 6e 20 28 | 66 61 6c 73 65 29 0d 09 |return (|false)..|
|00005c90| 09 09 63 65 6c 6c 6e 61 | 6d 65 20 3d 20 61 64 64 |..cellna|me = add|
|00005ca0| 72 65 73 73 20 28 63 65 | 6c 6c 6e 61 6d 65 29 0d |ress (ce|llname).|
|00005cb0| 09 09 09 69 66 20 64 65 | 66 69 6e 65 64 20 28 63 |...if de|fined (c|
|00005cc0| 65 6c 6c 6e 61 6d 65 5e | 29 0d 09 09 09 09 69 66 |ellname^|).....if|
|00005cd0| 20 6e 6f 74 20 64 69 61 | 6c 6f 67 2e 63 6f 6e 66 | not dia|log.conf|
|00005ce0| 69 72 6d 20 28 22 52 65 | 70 6c 61 63 65 20 65 78 |irm ("Re|place ex|
|00005cf0| 69 73 74 69 6e 67 20 73 | 63 72 69 70 74 73 20 74 |isting s|cripts t|
|00005d00| 61 62 6c 65 20 6e 61 6d | 65 64 20 22 20 2b 20 20 |able nam|ed " + |
|00005d10| 63 65 6c 6c 6e 61 6d 65 | 20 2b 20 22 3f 22 29 0d |cellname| + "?").|
|00005d20| 09 09 09 09 09 72 65 74 | 75 72 6e 20 28 66 61 6c |.....ret|urn (fal|
|00005d30| 73 65 29 0d 09 09 09 75 | 6e 70 61 63 6b 20 28 40 |se)....u|npack (@|
|00005d40| 72 65 73 64 61 74 61 2c | 20 63 65 6c 6c 6e 61 6d |resdata,| cellnam|
|00005d50| 65 29 0d 09 0d 09 62 75 | 6e 64 6c 65 20 c7 6c 6f |e)....bu|ndle .lo|
|00005d60| 61 64 20 74 68 65 20 61 | 70 70 27 73 20 6d 65 6e |ad the a|pp's men|
|00005d70| 75 62 61 72 0d 09 09 69 | 66 20 72 65 7a 2e 67 65 |ubar...i|f rez.ge|
|00005d80| 74 72 65 73 6f 75 72 63 | 65 20 28 70 61 74 68 2c |tresourc|e (path,|
|00005d90| 20 6d 65 6e 75 62 61 72 | 74 79 70 65 2c 20 31 32 | menubar|type, 12|
|00005da0| 38 2c 20 40 72 65 73 64 | 61 74 61 29 0d 09 09 09 |8, @resd|ata)....|
|00005db0| 6c 6f 63 61 6c 20 28 63 | 65 6c 6c 6e 61 6d 65 20 |local (c|ellname |
|00005dc0| 3d 20 40 73 79 73 74 65 | 6d 2e 6d 65 6e 75 62 61 |= @syste|m.menuba|
|00005dd0| 72 73 2e 5b 61 70 70 63 | 72 65 61 74 6f 72 5d 29 |rs.[appc|reator])|
|00005de0| 0d 09 09 09 69 66 20 6e | 6f 74 20 64 69 61 6c 6f |....if n|ot dialo|
|00005df0| 67 2e 61 73 6b 20 28 22 | 4e 61 6d 65 20 66 6f 72 |g.ask ("|Name for|
|00005e00| 20 6e 65 77 20 73 68 61 | 72 65 64 20 6d 65 6e 75 | new sha|red menu|
|00005e10| 3f 22 2c 20 40 63 65 6c | 6c 6e 61 6d 65 29 0d 09 |?", @cel|lname)..|
|00005e20| 09 09 09 72 65 74 75 72 | 6e 20 28 66 61 6c 73 65 |...retur|n (false|
|00005e30| 29 0d 09 09 09 63 65 6c | 6c 6e 61 6d 65 20 3d 20 |)....cel|lname = |
|00005e40| 61 64 64 72 65 73 73 20 | 28 63 65 6c 6c 6e 61 6d |address |(cellnam|
|00005e50| 65 29 0d 09 09 09 69 66 | 20 64 65 66 69 6e 65 64 |e)....if| defined|
|00005e60| 20 28 63 65 6c 6c 6e 61 | 6d 65 5e 29 0d 09 09 09 | (cellna|me^)....|
|00005e70| 09 69 66 20 6e 6f 74 20 | 64 69 61 6c 6f 67 2e 63 |.if not |dialog.c|
|00005e80| 6f 6e 66 69 72 6d 20 28 | 22 52 65 70 6c 61 63 65 |onfirm (|"Replace|
|00005e90| 20 65 78 69 73 74 69 6e | 67 20 73 68 61 72 65 64 | existin|g shared|
|00005ea0| 20 6d 65 6e 75 20 6e 61 | 6d 65 64 20 22 20 2b 20 | menu na|med " + |
|00005eb0| 20 63 65 6c 6c 6e 61 6d | 65 20 2b 20 22 3f 22 29 | cellnam|e + "?")|
|00005ec0| 0d 09 09 09 09 09 72 65 | 74 75 72 6e 20 28 66 61 |......re|turn (fa|
|00005ed0| 6c 73 65 29 0d 09 09 09 | 75 6e 70 61 63 6b 20 28 |lse)....|unpack (|
|00005ee0| 40 72 65 73 64 61 74 61 | 2c 20 63 65 6c 6c 6e 61 |@resdata|, cellna|
|00005ef0| 6d 65 29 0d 09 0d 09 72 | 65 74 75 72 6e 20 28 74 |me)....r|eturn (t|
|00005f00| 72 75 65 29 0d 80 00 00 | 00 00 00 84 00 00 00 00 |rue)....|........|
|00005f10| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005f30| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005f40| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|00005f50| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00005f60| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00005fa0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00005fe0| 00 00 00 80 00 00 00 00 | 00 0a 73 61 6d 70 6c 65 |........|..sample|
|00005ff0| 44 6f 63 73 00 00 0c 07 | 00 01 00 b8 00 02 00 00 |Docs....|........|
|00006000| 02 2e 00 00 09 5d 00 00 | 02 00 00 0f 08 50 61 6c |.....]..|.....Pal|
|00006010| 61 74 69 6e 6f 00 00 00 | 00 00 00 00 00 00 00 00 |atino...|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0c |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 06 54 00 00 a5 c9 |........|...T....|
|00006040| ba bf a6 f7 1c f9 00 00 | 00 19 00 00 00 26 00 00 |........|.....&..|
|00006050| 01 b6 02 26 00 00 00 00 | 00 00 00 00 00 00 00 00 |...&....|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 73 74 61 63 | 6b 2e 63 72 65 61 74 65 |....stac|k.create|
|00006080| 0d 09 53 79 6e 74 61 78 | 0d 09 09 73 74 61 63 6b |..Syntax|...stack|
|00006090| 2e 63 72 65 61 74 65 20 | 28 29 0d 09 50 61 72 61 |.create |()..Para|
|000060a0| 6d 65 74 65 72 73 0d 09 | 09 4e 6f 6e 65 2e 0d 09 |meters..|.None...|
|000060b0| 41 63 74 69 6f 6e 0d 09 | 09 43 72 65 61 74 65 73 |Action..|.Creates|
|000060c0| 20 61 20 6e 65 77 20 d2 | 6c 61 73 74 2d 69 6e 2d | a new .|last-in-|
|000060d0| 66 69 72 73 74 2d 6f 75 | 74 d3 20 73 74 61 63 6b |first-ou|t. stack|
|000060e0| 20 77 69 74 68 20 6e 6f | 20 65 6c 65 6d 65 6e 74 | with no| element|
|000060f0| 73 20 69 6e 20 69 74 2e | 0d 09 52 65 74 75 72 6e |s in it.|..Return|
|00006100| 73 0d 09 09 54 68 65 20 | 61 64 64 72 65 73 73 20 |s...The |address |
|00006110| 6f 66 20 74 68 65 20 6e | 65 77 6c 79 20 61 6c 6c |of the n|ewly all|
|00006120| 6f 63 61 74 65 64 20 73 | 74 61 63 6b 20 6f 62 6a |ocated s|tack obj|
|00006130| 65 63 74 2e 0d 09 45 78 | 61 6d 70 6c 65 73 0d 09 |ect...Ex|amples..|
|00006140| 09 73 63 72 61 74 63 68 | 70 61 64 2e 6e 61 6d 65 |.scratch|pad.name|
|00006150| 53 74 61 63 6b 20 3d 20 | 73 74 61 63 6b 2e 63 72 |Stack = |stack.cr|
|00006160| 65 61 74 65 20 28 29 0d | 09 09 09 73 75 69 74 65 |eate ().|...suite|
|00006170| 73 2e 73 74 61 63 6b 2e | 70 6f 6f 6c 2e 73 74 61 |s.stack.|pool.sta|
|00006180| 63 6b 31 0d 09 4e 6f 74 | 65 73 0d 09 09 41 6c 6c |ck1..Not|es...All|
|00006190| 20 73 74 61 63 6b 73 20 | 61 72 65 20 63 72 65 61 | stacks |are crea|
|000061a0| 74 65 64 20 69 6e 20 61 | 20 73 75 62 2d 74 61 62 |ted in a| sub-tab|
|000061b0| 6c 65 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 20 |le in th|e stack |
|000061c0| 73 75 69 74 65 20 63 61 | 6c 6c 65 64 20 22 70 6f |suite ca|lled "po|
|000061d0| 6f 6c 22 2e 0d 09 09 41 | 20 73 74 61 63 6b 20 69 |ol"....A| stack i|
|000061e0| 73 20 61 20 74 61 62 6c | 65 20 77 69 74 68 20 74 |s a tabl|e with t|
|000061f0| 77 6f 20 69 74 65 6d 73 | 3a 20 74 6f 70 20 69 6e |wo items|: top in|
|00006200| 64 69 63 61 74 65 73 20 | 68 6f 77 20 6d 61 6e 79 |dicates |how many|
|00006210| 20 65 6c 65 6d 65 6e 74 | 73 20 61 72 65 20 63 75 | element|s are cu|
|00006220| 72 72 65 6e 74 6c 79 20 | 69 6e 20 74 68 65 20 73 |rrently |in the s|
|00006230| 74 61 63 6b 3b 20 76 61 | 6c 73 20 69 73 20 61 20 |tack; va|ls is a |
|00006240| 73 75 62 2d 74 61 62 6c | 65 20 74 68 61 74 20 73 |sub-tabl|e that s|
|00006250| 74 6f 72 65 73 20 74 68 | 65 20 73 74 61 63 6b 20 |tores th|e stack |
|00006260| 76 61 6c 75 65 73 2e 0d | 09 53 65 65 20 41 6c 73 |values..|.See Als|
|00006270| 6f 0d 09 09 73 74 61 63 | 6b 2e 70 75 73 68 0d 09 |o...stac|k.push..|
|00006280| 09 73 74 61 63 6b 2e 70 | 6f 70 0d 09 09 73 74 61 |.stack.p|op...sta|
|00006290| 63 6b 2e 64 69 73 70 6f | 73 65 0d 09 09 73 74 61 |ck.dispo|se...sta|
|000062a0| 63 6b 2e 76 69 73 69 74 | 0d 73 74 61 63 6b 2e 70 |ck.visit|.stack.p|
|000062b0| 75 73 68 0d 09 53 79 6e | 74 61 78 0d 09 09 73 74 |ush..Syn|tax...st|
|000062c0| 61 63 6b 2e 70 75 73 68 | 20 28 61 64 72 53 74 61 |ack.push| (adrSta|
|000062d0| 63 6b 2c 20 76 61 6c 29 | 0d 09 50 61 72 61 6d 65 |ck, val)|..Parame|
|000062e0| 74 65 72 73 0d 09 09 61 | 64 72 53 74 61 63 6b 20 |ters...a|drStack |
|000062f0| 69 73 20 74 68 65 20 61 | 64 64 72 65 73 73 20 6f |is the a|ddress o|
|00006300| 66 20 61 20 73 74 61 63 | 6b 20 6f 62 6a 65 63 74 |f a stac|k object|
|00006310| 20 61 6c 6c 6f 63 61 74 | 65 64 20 62 79 20 73 74 | allocat|ed by st|
|00006320| 61 63 6b 2e 63 72 65 61 | 74 65 2e 0d 09 09 76 61 |ack.crea|te....va|
|00006330| 6c 20 69 73 20 61 6e 79 | 20 76 61 6c 69 64 20 55 |l is any| valid U|
|00006340| 73 65 72 54 61 6c 6b 20 | 65 78 70 72 65 73 73 69 |serTalk |expressi|
|00006350| 6f 6e 2e 0d 09 41 63 74 | 69 6f 6e 0d 09 09 41 64 |on...Act|ion...Ad|
|00006360| 64 73 20 74 68 65 20 76 | 61 6c 75 65 20 61 74 20 |ds the v|alue at |
|00006370| 74 68 65 20 22 74 6f 70 | 22 20 6f 66 20 74 68 65 |the "top|" of the|
|00006380| 20 73 74 61 63 6b 2e 0d | 09 52 65 74 75 72 6e 73 | stack..|.Returns|
|00006390| 0d 09 09 54 72 75 65 2e | 0d 09 45 78 61 6d 70 6c |...True.|..Exampl|
|000063a0| 65 73 0d 09 09 73 74 61 | 63 6b 2e 70 75 73 68 20 |es...sta|ck.push |
|000063b0| 28 73 63 72 61 74 63 68 | 70 61 64 2e 6e 61 6d 65 |(scratch|pad.name|
|000063c0| 53 74 61 63 6b 2c 20 22 | 42 75 6c 6c 20 4d 61 6e |Stack, "|Bull Man|
|000063d0| 63 75 73 6f 22 29 0d 09 | 09 09 74 72 75 65 0d 09 |cuso")..|..true..|
|000063e0| 53 65 65 20 41 6c 73 6f | 0d 09 09 73 74 61 63 6b |See Also|...stack|
|000063f0| 2e 63 72 65 61 74 65 0d | 09 09 73 74 61 63 6b 2e |.create.|..stack.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.